Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot create android app from an archive \app\libs\appodeal-2.1.11.jar' containing both DEX and Java-bytecode content

I am trying to add appodeal jar file to my project, but this error occurs:

Cannot create android app from an archive app\libs\appodeal-2.1.11.jar' containing both DEX and Java-bytecode content

Also android.enableD8=false not works.

I am using buildToolsVersion 3.1.3, gradle-4.8 and multidex-1.0.2 library. How can I resolve this issue? Thanks

like image 544
Mr. Nobody Avatar asked Mar 14 '26 22:03

Mr. Nobody


1 Answers

You should use special multidex version of sdk, integrate it instead of regular version. Regards.

https://s3-us-west-1.amazonaws.com/appodeal-android/2.1.11/Appodeal-Android-SDK-2.1.11-150318-all-nodex.zip

like image 147
Mr. Nobody Avatar answered Mar 17 '26 12:03

Mr. Nobody



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!