我用螞蟻釋放和得到這個錯誤:com.android.dx.util.DexException:多DEX文件定義
[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)
我有same error,但答案沒有幫助我
我試着:
- 重新安裝Android SDK中的其他目錄
- 刪除斌/ GEN顯示目錄和清潔項目
- 撈出月食從17
- 變化的Android API添加庫至10
- Make sure my bin folder is not included in my build path
我有1個主項目和2個LIB項目(Facebook和擴展文件下載)
感謝答案!
Thanks @Robin!我在兩個項目中使用了1個jar lib副本 – user2172670 2013-04-08 07:19:03