Cannot create android app from an archive \\app\\l

2019-04-11 06:23发布

问题:

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

回答1:

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