We have an android project in which we are moving from perfectly working dynatrace gradle plugin 7, to version 8 (specifically 18.104.22.1684).
it is a native android app applying to the requirement of the dynatrace gradle plugin version 8 (jvm 8, gradle plugin 3.5.3, gradle 5.4.1).
We have followed the instructions here and here, but we dont see anything in AppMon (22.214.171.1249) and with logs turned on we only see "x-dynatrace-JS-agent : true" and the usual "dynatrace monitor" line telling us user actions are being sent from the app.
Does anybody have experience with version 8, or any ideas why we dont see any visits?
In order to help, we need some more information. Can you enable debug logging for the agent (see: https://www.dynatrace.com/support/doc/appmon/shortlink/id_gradle_plugin_for_android_migrate_8#agent-...), then run the app and capture and send us the logcat lines that start with "dtx".
Please also consider opening a support ticket.
Did you apply the plugin in the top-level build.gradle file? The plugin will not work, when it is applied in the wrong build.gradle file.
Apply and configure the plugin in the top-level build.gradle file, located in the root project directory. This change gives the Dynatrace Android Gradle plugin access to all modules of your Android application project. For details, see Instrumentation via Dynatrace Android Gradle plugin.
Version 7 of the plugin was applied in the module's build.gradle file. It could be that you have missed this change.
You can also create a support ticket and attach the build.gradle files. Then a colleague from the support team will verify if you configuration is correct.