Open mateomenestrina opened 10 years ago
What kind of conflicts? Please, provide error stack trace
Error occurred while packaging the application:
dx tool failed: UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lcom/google/ads/AdRequest$ErrorCode;
at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
at com.android.dx.dex.file.DexFile.add(DexFile.java:143)
at com.android.dx.command.dexer.Main.processClass(Main.java:301)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:278)
at com.android.dx.command.dexer.Main.access$100(Main.java:56)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:229)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:244)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
at com.android.dx.command.dexer.Main.processOne(Main.java:247)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
at com.android.dx.command.dexer.Main.run(Main.java:139)
at com.android.dx.command.dexer.Main.main(Main.java:120)
at com.android.dx.command.Main.main(Main.java:89)
1 error; aborting
Has this been fixed?
Ok, seems that this conflict exists also in other dev platform (like Unity). On this thread is said to try removing the "ads" folders, contained into the google-play-services.jar. In our case, we could try to do it, and recompile it. I'll try to do this as soon as possible
Emmm... no. It didn't work. Still return the same error. Anyway, the bad news is the following: Google will deprecate the standalone AdMob SDK for Android on August 1, asks developers to use Play services
Summarizing, we need to merge the adMob library functionality with this google play service, all in one, so all in this project, to avoid the current error duplication, i think
This Ane conflicts when used with some anes admob, no way to fix this?