Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to Instrument APK File


i was trying to instrument Dynatrace OneAgent on the android app and all the configuration as suggested are done correctly.

there are no errors in the log File as well but when we are running the command in the CMD then after rebuilding the APK package the Message is shown unable to instrument the APK.

and when i am checking the Log Files there are no error shown please help.

*this is a native app

Any Suggestions @Andreas G. @Christian S.


Dynatrace Helper
Dynatrace Helper

Hi Rishabh,
Can you enable the debug logging by setting the DTXLogLevel flag to 'debug' in the file. Then please run it again and provide us the entire log file.
Thank you.

Dynatrace Helper
Dynatrace Helper

The log looks fine, it seems that the instrumentation process itself was successful but the instrument.cmd script failed to zipalign and sign the instrumented apk.
Can you please open a support ticket in order to get this issue fixed.

In the meantime can you check if you find an apk file in the 'yourAppName\dist' folder?
If so the instrumentation succeeded.
You can then zipalign your apk yourself: see

Featured Posts