无法执行DX

时间:2014-09-23 10:09:43

标签: android intellij-idea desktop

请有人帮我解决下一个错误吗?

错误:Android Dex:[android]无法执行DX 错误:Android Dex:[android] com.android.dex.DexException:多个dex文件定义Lcom / badlogic / gdx / Application $ ApplicationType; 错误:Android Dex:[android] at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:594) 错误:Android Dex:[android] at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:552) 错误:Android Dex:[android] at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:533) 错误:Android Dex:[android] at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:170) 错误:Android Dex:[android] at com.android.dx.merge.DexMerger.merge(DexMerger.java:188) 错误:Android Dex:[android] at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:439) 错误:Android Dex:[android] at com.android.dx.command.dexer.Main.runMonoDex(Main.java:287) 错误:Android Dex:[android] at com.android.dx.command.dexer.Main.run(Main.java:230) 错误:Android Dex:[android] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 错误:Android Dex:[android] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 错误:Android Dex:[android] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 错误:Android Dex:[android] at java.lang.reflect.Method.invoke(Method.java:483) 错误:Android Dex:[android] at org.jetbrains.android.compiler.tools.AndroidDxRunner.runDex(AndroidDxRunner.java:161) 错误:Android Dex:[android] at org.jetbrains.android.compiler.tools.AndroidDxRunner.main(AndroidDxRunner.java:294) 错误:Android Dex:[android] at com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:121)

我还附加了项目设置的屏幕截图:

非常感谢!

Compilation Error

Core Structure

Android Structure

Project Structure

0 个答案:

没有答案