I did have an extra virtual source folder that was an artifact of all the tweaking I had done to try to get it to work.
I wished I'd taken more notes on what worked. New Eclipse->New Workspace -> Import existing projects got me the farthest. After multiple iterations, I might have a build. New Eclipse->Old Workspace failed. New Eclipse->New Workspace-> Projects from existing source failed. Nathan On Mar 10, 4:38 pm, Xavier Ducrohet <x...@android.com> wrote: > The NPE indicates that your project is configured with some source > folders that don't actually exist. > > Do you have a gen folder? Eclipse should create it if it's not there, > but it could not be there maybe? > > I'll guard against the NPE (https://review.source.android.com/21721) > but if it's gen that cannot be created something else might be going > on. > > Xav > > > > > > > > > > On Thu, Mar 10, 2011 at 4:27 PM, Nathan <critter...@crittermap.com> wrote: > > Since ADT 10, I have been trying to get a build to work with Eclipse > > for a week now. It is getting extremely frustrating. > > > I installed Eclipse 3.6.2 as instructed. I installed ADT 10. I > > recreated a library project from existing source. I got that to > > build. > > > Now I tried creating a project that depends on said library - also > > from existing source. Won't build because it won't generate the R > > file - again. > > > Now, aapt is crashing frequently. > > > I keep getting "aapt has failed. Windows is searching for a solution > > to the problem." > > > When I check the error log, I get the error below. > > > Nathan > > > java.lang.NullPointerException > > at > > com.android.ide.eclipse.adt.internal.build.AidlProcessor.doCompileFiles(Aid > > lProcessor.java: > > 108) > > at > > com.android.ide.eclipse.adt.internal.build.SourceProcessor.compileFiles(Sou > > rceProcessor.java: > > 242) > > at > > com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.buil > > d(PreCompilerBuilder.java: > > 476) > > at org.eclipse.core.internal.events.BuildManager > > $2.run(BuildManager.java:629) > > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) > > at > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: > > 172) > > at > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: > > 203) > > at org.eclipse.core.internal.events.BuildManager > > $1.run(BuildManager.java:255) > > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) > > at > > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java: > > 258) > > at > > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j > > ava: > > 311) > > at > > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java: > > 343) > > at > > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java: > > 144) > > at > > org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java: > > 242) > > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) > > > -- > > 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.http://developer.android.com|http://tools.android.com > > 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