我已经下载了eclipse luna然后我已经doenload android-sdk-linux然后我运行tools/android update sdk --no-ui
这个命令我下一步做了什么所以我在我的eclipse中开发了android应用程序。
我尝试导入我的旧android项目,这会产生如下错误:
Description Resource Path Location Type
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 google-play-services_lib Unknown Java Problem
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 gu10science Unknown Java Problem
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files TestActivity.java /gu10science/src/com/sparrow/gu10science line 1 Java Problem
The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files UnusedStub.java /google-play-services_lib/src/android line 1 Java Problem
答案 0 :(得分:1)
您可以在此处获得答案:https://stackoverflow.com/a/9341736/1974306
(...)选择Android API版本(设置为另一个并且有效,然后恢复您想要的并验证它 - >它将强制Eclipse重新加载API)。 (...)