Reason of this problem is:
It seems that you lack JDK (java.lang.Object comes from there )
The problem is that you used the same Android API on different PC.
Eclipse is lost with path names that are differents but with same API.
To solve it, first re-select Android API version (set to another one
and valid, then restore the on you want and validate it -> it will
force Eclipse to reload API). Then go into project->properties-> java
build path. Then remove "Unable to get system library for the project"
then "Add library" and select "Android Classpath container".
From: The project was not built since its build path is incomplete
If above solution didn't work, follow these steps:
- This issue is occurred only if the project shared between different machines.
- For me I found java JDK is the problem.
- My colleague used mac system and using jdk 1.7. but in my system I used jdk 1.6.
- I guess that may be the issue. So I select project and open properties and change my jdk to 1.7
- Change target=Google Inc.:Google APIs:19
- Clean & Build
Finally issue is fixed. I think this is because of If you build your
project with higher JDK version thereafter you should build with same
version.
NOTE : we are not facing this issue before until my colleague build
with JDK 1.7. After he started to using JDK 1.7 only this issue occur.
Hope it will work for some one. And no need for install new eclipse.
From: The project was not built since its build path is incomplete
Check link above to find more solutions
Hope it helps