问题
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
回答2:
add android.enableR8=false in gradle.properties add -ignorewarnings in proguard-rules.pro
来源:https://stackoverflow.com/questions/51997572/cannot-create-android-app-from-an-archive-app-libs-appodeal-2-1-11-jar-contain