The Dynatrace Gradle plugin calls the auto-instrumentor and therefore executes the instrument.sh script. In your case the auto-instrumentor was not able to instrument the APK file successfully and therefore the Dynatrace Gradle plugin has canceled your build. When you have triggered the build via the Run button from Android Studio, then you should see the error message from the auto-instrumentor in the Gradle Console. You find this view in the lower right corner or via View -> Tool Windows -> Gradle Console.
Hi Cesar, hi Aman,
there can be numerous reasons why the auto-instrumentor stops.
Please see the log output in the Gradle console as Thomas described.
If you need help, please share the log output.