The project was not built since its build path is incomplete......
今天早上打开eclipse突然发现项目中gen/com.xx/R.java文件报错,并且在problem中提示:
The project was not built since its build path is incomplete......
纳闷了,最后发现Android.jar丢了。
重新导入Android包(项目右键build-path -> Add Library -> Android classpath Contianor).
这种情况一般都是包导入问题。