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

How To Fix "Multidex preprocessing failed" During Auto Instrumentation

dave_mauney
Dynatrace Champion
Dynatrace Champion

Since I just had this issue and found nothing on the forums I am posting this very quick article.

If you encounter this error while doing auto instrumentation:

Multidex preprocessing failed

The following properties should help.

For versions < 6.2:

cpwrUEM_instr.maxDexMethods=65000

cpwrUEM_instr.multidexMoveMethodCount=X

For versions >= 6.2

DTXMaxDexMethods=65000

DTXMultidexMoveMethodCount=X

NOTE: Adjust the value of X according to the log messages you receive during the auto instrumentation process.

You will probably need to run the command line auto instrumentation process to get the detailed messaged needed to tweak these settings.

More Details:

https://community.dynatrace.com/community/display/...

https://community.dynatrace.com/community/display/...

HTH,

dave

0 REPLIES 0