javaandroidandroid-multidexappodeal

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


Solution

  • 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