I use ant release and got this error:
[dx] UNEXPECTED TOP-LEVEL EXCEPTION:
[dx] com.android.dx.util.DexException: Multiple dex files define Lcom/android/vending/billing/IMarketBillingService;
[dx] at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:580)
[dx] at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:538)
[dx] at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:519)
[dx] at com.android.dx.merge.DexMerger.mergeDexBuffers(DexMerger.java:168)
[dx] at com.android.dx.merge.DexMerger.merge(DexMerger.java:186)
[dx] at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:300)
[dx] at com.android.dx.command.dexer.Main.run(Main.java:232)
[dx] at com.android.dx.command.dexer.Main.main(Main.java:174)
[dx] at com.android.dx.command.Main.main(Main.java:91)
I have same error, but answers didn't help me
I tried:
I have 1 main project and 2 lib projects (Facebook and Expansion files downloader)
Thanks for answers!
Please check if the package includes com/android/vending/billing/IMarketBillingService is reference twice or more in your project settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With