3

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

Mr. Nobody
  • 327
  • 2
  • 8
  • 21

2 Answers2

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

Mr. Nobody
  • 327
  • 2
  • 8
  • 21
0

add android.enableR8=false in gradle.properties add -ignorewarnings in proguard-rules.pro

yihang wu
  • 21
  • 2