Here goes the stack trace from eclipse: java.lang.reflect.InvocationTargetException 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) at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(Unknown Source) at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(Unknown Source) at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(Unknown Source) at org.eclipse.core.internal.events.BuildManager $2.run(BuildManager.java:627) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 170) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 201) at org.eclipse.core.internal.events.BuildManager $1.run(BuildManager.java:253) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: 256) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java: 309) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java: 341) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java: 140) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java: 238) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.lang.NullPointerException at java.io.File.<init>(Unknown Source) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java: 106) at com.android.dx.command.dexer.Main.processOne(Main.java:284) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:220) at com.android.dx.command.dexer.Main.run(Main.java:176) ... 19 more
On Dec 7, 1:16 am, Xavier Ducrohet <x...@android.com> wrote: > gotta love the error message. *sigh* > > From what you're saying you have all that's needed. Have you tried > using the Sun VM instead of OpenJDK? > We load dx.jar through reflection and it looks like calling out to a > method through reflection failed. > > Xav > > > > On Mon, Dec 6, 2010 at 2:33 PM, Tom Gibara <tomgib...@gmail.com> wrote: > > I upgraded to the 2.3 SDK and have hit a problem I can't resolve. > > > First I updated the android plugins for eclipse (3.5.2) to the new > > version (8.0.0.v201011171904-77661). Then I used the SDK manager > > within eclipse to install the Android SDK 2.3 API 9 package, its > > documentation, and the Android SDK platform tools revision 1. > > > On restarting eclipse I found that every non-library android project > > was reporting the same error: > > > [2010-12-06 21:58:32 - Dex Loader] Unable to execute dex: null > > [2010-12-06 21:58:32 - ] Conversion to Dalvik format > > failed: Unable to execute dex: null > > > I have tried cleaning the projects, reinstalling the plugins and > > changing the declared SDK location. I have confirmed that eclipse has > > the latest plugin, that the platform-tools directory exists, as does > > the platforms/android-9 directory, and that they contain the correct > > files. I switched the plugin into "verbose" for building, but can't > > see anything remotely suspicious. I can even run dx manually on the > > project bin directory and produce a classes.dex file. > > > I'm stumped, does anyone have any ideas? > > > This is on a 32-bit Ubuntu (Lucid Lynx) machine with OpenJDK (IcedTea6 > > 1.8.2) (6b18-1.8.2-4ubuntu2) (build 16.0-b13, mixed mode) > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Xavier Ducrohet > Android SDK Tech Lead > Google Inc. > > Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en