All this time, I had assumed that the Problems View in Eclipse was
read-only, so it never occurred to me to try deleting the error!
Thanks for the tip.

On Jul 19, 5:17 pm, Xavier Ducrohet <x...@android.com> wrote:
> that is correct.
>
> There's a weird problem with Eclipse java builder that can't find the
> gen folder, usually after a clean (where we delete the gen folder).
>
> It's hard to reproduce everytime, so we haven't figured out exactly
> the problem. We have changed the ADT plug-in to not remove the gen
> folder itself (only its content) on clean and that will help.
>
> When that happens, just remove the error (go in the problems view,
> find the error and hit del on your keyboard, or choose delete in the
> contextual menu).
>
> Xav
>
> On Mon, Jul 19, 2010 at 5:10 PM, 苏坦托Sutanto <tnto.i...@yahoo.com> wrote:
> > You only need to remove the error message and the try to rebuild the
> > project, it's working for me...
> > I'm using Helios Eclipse and Ubuntu 10.04 64bit
>
> > On Tue, Jul 20, 2010 at 7:10 AM, 苏坦托Sutanto <tnto.i...@yahoo.com> wrote:
>
> >> You only need to remote the error message and the try to rebuild the
> >> project, it's working for me...
> >> I'm using Helios Eclipse and Ubuntu 10.04 64bit
>
> >> On Tue, Jul 20, 2010 at 7:06 AM, Indicator Veritatis <mej1...@yahoo.com>
> >> wrote:
>
> >>> Your exception stack trace terminates just as it is about to get to
> >>> the interesting point: why did aapt yield an error? What was the
> >>> error?
>
> >>> On Jul 19, 9:28 am, DulcetTone <dulcett...@gmail.com> wrote:
> >>> > I have Eclipse build issues.
> >>> > I am running ADT 0.9.7 from 1157 May 7th 2010 and a freshly-updated
> >>> > copy of Eclipse 3.5 IDE for Java
>
> >>> > I have an Android project which depends on an underlying "Core"
> >>> > Android project, and it claims not to find its "gen" folder, though it
> >>> > is exactly where it has ever been (though the project dependency is a
> >>> > new wrinkle).  The project properties shows that it knows where it
> >>> > lives.
>
> >>> > Any ideas?
>
> >>> > Tony
>
> >>> > Here is how the .log file reports the issue:
>
> >>> > !ENTRY org.eclipse.jdt.ui 4 10001 2010-07-19 11:25:23.592
> >>> > !MESSAGE Internal Error
> >>> > !STACK 1
> >>> > Java Model Exception: Java Model Status [gen [in CD1] does not exist]
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:
> >>> > 502)
> >>> >         at
> >>> > org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:
> >>> > 246)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:
> >>> > 515)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:
> >>> > 252)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:
> >>> > 238)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.core.PackageFragmentRoot.getKind(PackageFragmentRoot.java:
> >>> > 477)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.processDelta(PackageExplorerContentProvider.java:
> >>> > 645)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.handleAffectedChildren(PackageExplorerContentProvider.java:
> >>> > 791)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.processDelta(PackageExplorerContentProvider.java:
> >>> > 734)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.handleAffectedChildren(PackageExplorerContentProvider.java:
> >>> > 791)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.processDelta(PackageExplorerContentProvider.java:
> >>> > 734)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.elementChanged(PackageExplorerContentProvider.java:
> >>> > 124)
> >>> >         at org.eclipse.jdt.internal.core.DeltaProcessor
> >>> > $3.run(DeltaProcessor.java:1557)
> >>> >         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:
> >>> > 1547)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.core.DeltaProcessor.firePostChangeDelta(DeltaProcessor.java:
> >>> > 1381)
> >>> >         at
> >>> > org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:
> >>> > 1357)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:
> >>> > 1958)
> >>> >         at
>
> >>> > org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:
> >>> > 470)
> >>> >         at org.eclipse.core.internal.events.NotificationManager
> >>> > $2.run(NotificationManager.java:291)
> >>> >         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >>> >         at
>
> >>> > org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:
> >>> > 285)
> >>> >         at
>
> >>> > org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:
> >>> > 149)
> >>> >         at
>
> >>> > org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:
> >>> > 313)
> >>> >         at
>
> >>> > org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:
> >>> > 1022)
> >>> >         at
>
> >>> > org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
> >>> > 45)
> >>> >         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> >>> > !SUBENTRY 1 org.eclipse.jdt.core 4 969 2010-07-19 11:25:23.592
> >>> > !MESSAGE gen [in CD1] does not exist
>
> >>> > !ENTRY org.eclipse.core.resources 8 2 2010-07-19 11:25:27.803
> >>> > !MESSAGE Problems occurred when invoking code from plug-in:
> >>> > "org.eclipse.core.resources".
> >>> > !STACK 1
> >>> > org.eclipse.core.runtime.CoreException: 'aapt' error. Pre Compiler
> >>> > Build aborted.
> >>> >         at
>
> >>> > com.android.ide.eclipse.adt.internal.build.BaseBuilder.stopBuild(Unknown
> >>> > Source)
> >>> >         at
>
> >>> > com.android.ide.eclipse.adt.internal.build.PreCompilerBuilder.execAapt(Unknown
> >>> > Source)
> >>> >         at
>
> >>> > com.android.ide.eclipse.adt.internal.build.PreCompilerBuilder.handleResources(Unknown
> >>> > Source)
> >>> >         at
>
> >>> > com.android.ide.eclipse.adt.internal.build.PreCompilerBuilder.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.resources.Workspace.build(Workspace.java:
> >>> > 330)
> >>> >         at org.eclipse.ui.actions.GlobalBuildAction
> >>> > $1.run(GlobalBuildAction.java:178)
> >>> >         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> >>> > !SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2010-07-19 11:25:27.805
> >>> > !MESSAGE 'aapt' error. Pre Compiler Build aborted.
> >>> > !SUBENTRY 1 com.android.ide.eclipse.adt 8 0 2010-07-19 11:25:27.805
> >>> > !MESSAGE 'aapt' error. Pre Compiler Build aborted.
>
> >>> --
> >>> 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
>
> >> --
> >> Sutanto
> >>http://www.tnto.info
>
> > --
> > Sutanto
> >http://www.tnto.info
>
> > --
> > 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

Reply via email to