Cannot find "gen" folder... it's right there!

by DulcetTone » Tue, 20 Jul 2010 00:28:43 GMT


Sponsored Links
  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 or



Other Threads

1. the detail source code for getFromLocation

hello guys,

is the Android source code have detail code for
GeoCoder.getFromLocation() method(how to implement and work)??
I just find GeoCoder.java(/home/stanly/mydroid/frameworks/base/
location/java/android/location) and ILocationManager.aidl(/home/stanly/
mydroid/frameworks/base/location/java/android/location)

can somebidy help me??

thanks

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Quick Yes/No question about the UI thread during a screen rotation

Hello,

Am I correct in assuming that any callbacks of the AsyncTask that are
run on the UI thread (e.g. onPostExecute) are 'queued' during a screen
rotation?

Example:
1. an AsyncTask is executed
2. a screen rotation is initiated
3a. AsyncTask's doInBackground() finishes, or
3b. AsyncTask's publishProgress() is called before the rotation is
done
--- now what happens here? is it
4. screen rotation is completed before the 'pending'
AsyncTask.onPostExecute/onProgressUpdate is run?

I assumed so, since looking at DDMS, it seems like the rotation does
NOT create a new UI thread, in which case any calls to the UI must be
stalled while the UI thread is busy completing the rotation, right?

It would be great if this was true, since it would save me from having
to do a bunch of synchronization work for posting back from AsyncTasks
(I am keeping the tasks running during a rotation) - at least so I
think..

Thank you for any tips on this,

-szabolcs

--~--~---------~--~----~------------~-------~--~----~

3. How to output the log when boot?

4. Halt the Target VM, my app becomes unstable

5. Anyone else notice more frequent GC in 1.6?

6. Eclipse is stuck at "Android SDK Content Loader 60%"

7. HttpURLConnection