android - ParseException for org.osmdroid.DefaultResourceProxyTest -
when try run this android project in eclipse kepler 4.3.2 on ubuntu 13.10. dexer throws parseexception
:
$ dx unexpected top-level exception: com.android.dx.cf.iface.parseexception: class name (org/osmdroid/defaultresourceproxytest) not match path (target/test-classes/org/osmdroid/defaultresourceproxytest.class) @ com.android.dx.cf.direct.directclassfile.parse0(directclassfile.java:520) @ 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:665) @ com.android.dx.command.dexer.main.processfilebytes(main.java:634) @ com.android.dx.command.dexer.main.access$600(main.java:78) @ com.android.dx.command.dexer.main$1.processfilebytes(main.java:572) @ 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:596) @ com.android.dx.command.dexer.main.processallfiles(main.java:498) @ com.android.dx.command.dexer.main.runmonodex(main.java:264) @ com.android.dx.command.dexer.main.run(main.java:230) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ com.android.ide.eclipse.adt.internal.build.dexwrapper.run(dexwrapper.java:187) @ 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:733) @ org.eclipse.core.runtime.saferunner.run(saferunner.java:42) @ org.eclipse.core.internal.events.buildmanager.basicbuild(buildmanager.java:206) @ org.eclipse.core.internal.events.buildmanager.basicbuild(buildmanager.java:328) @ org.eclipse.core.internal.events.buildmanager.build(buildmanager.java:403) @ org.eclipse.core.internal.resources.project$1.run(project.java:618) @ org.eclipse.core.internal.resources.workspace.run(workspace.java:2345) @ 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:858) @ org.eclipse.debug.internal.core.launchconfiguration.launch(launchconfiguration.java:707) @ org.eclipse.debug.internal.ui.debuguiplugin.buildandlaunch(debuguiplugin.java:1018) @ org.eclipse.debug.internal.ui.debuguiplugin$8.run(debuguiplugin.java:1222) @ org.eclipse.core.internal.jobs.worker.run(worker.java:53) ...while parsing target/test-classes/org/osmdroid/defaultresourceproxytest.class $ dx 1 error; aborting $ conversion dalvik format failed error 1
right click project in eclipse, go java build path, click order , export tab , uncheck "android private libraries".
Comments
Post a Comment