Community
Participate
Working Groups
When Eclipse is started for the first time, some or all Android projects (e.g. appcompat_v7) are flagged with the following error: "The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project." Without any changes whatsoever, after Eclipse is exited and started again, the problem goes away on its own. Sometimes, it takes more than one restart for this to happen. Clearly, there is some race condition with a timeout in the IDE because on restarts, files are cached in memory by the OS and load much faster than when they are fetched from the HDD on the first run. The problem shows up in both Mars and Neon versions of the IDE.
I'm assuming this is with Andmore? What version?
(In reply to Brian de Alwis from comment #1) > I'm assuming this is with Andmore? What version? No Andmore. From Installation Details: ADT, Android DDMS, Hierarchy Viewer, Native Development Tools, Traceview.
This is a recurring problem also reported by other Eclipse users on SO: http://stackoverflow.com/questions/9341644/the-project-was-not-built-since-its-build-path-is-incomplete Manually restoring the JRE system library for all Android projects is only a temporary remedy because the problem has a tendency to show up again on subsequent "cold" starts (as opposed to "hot" restarts with OS-cached files) of Eclipse.