1.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
解决办法:
1. 进入window \ preferences \ java \ Installed JREs
1)按Add
2)输入JRE Name, 例JDK 1.5.0.09
3)JRE home directory, 选择安装的路径
4)按OK
2. 进入Project \ properties \ Java Bulid Path
1)Add library
2)选JRE System Library后按Next
3)选workplace default JRE后按 finish...
2.The project was not built since its build path is incomplete. Cannot find the class file for android.content.Context. Fix the build path then try building this project
工程右键properties--> Android --> Target Name 重新选择安卓版本。