Libgdx转换为dalvik格式失败,错误1

时间:2016-07-20 23:03:21

标签: java android eclipse libgdx dalvik

我正在尝试使用libgdx进行游戏开发 桌面版编译成功 Android版本说有错误

[2010-09-16 06:04:12 - testing-android] Dx 意外的顶级例外情况: com.android.dx.cf.iface.ParseException:错误的类文件魔术(cafebabe)或版本(0034.0000)     在com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:472)     在com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)     在com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)     在com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)     在com.android.dx.command.dexer.Main.processClass(Main.java:704)     在com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)     在com.android.dx.command.dexer.Main.access $ 300(Main.java:82)     在com.android.dx.command.dexer.Main $ 1.processFileBytes(Main.java:602)     在com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)     在com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)     在com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)     在com.android.dx.command.dexer.Main.processOne(Main.java:632)     在com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)     在com.android.dx.command.dexer.Main.runMonoDex(Main.java:279)     在com.android.dx.command.dexer.Main.run(Main.java:245)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     在com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:188)     在com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:786)     在com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:597)     在org.eclipse.core.internal.events.BuildManager $ 2.run(BuildManager.java:726)     在org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)     在org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)     在org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)     在org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)     在org.eclipse.core.internal.resources.Project $ 1.run(Project.java:618)     在org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)     在org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)     在org.eclipse.core.internal.resources.Project.build(Project.java:124)     在com.android.ide.eclipse.adt.internal.project.ProjectHelper.doFullIncrementalDebugBuild(ProjectHelper.java:1143)     在com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:155)     在org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)     在org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:704)     在org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1047)     在org.eclipse.debug.internal.ui.DebugUIPlugin $ 8.run(DebugUIPlugin.java:1251)     在org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) ...解析com / badlogic / gdx / Application $ ApplicationType.class

[2010-09-16 06:04:12 - testing-android] Dx 1错误;中止 [2010-09-16 06:04:12 - testing-android]转换为Dalvik格式失败,错误1

0 个答案:

没有答案