Cannot find the class file for java.lang.Object

前端 未结 9 1378
醉梦人生
醉梦人生 2021-02-12 16:31

I reinstalled my eclipse. and then imported all the projects in the Eclipse, but every project has a common error:

Cannot find the class file for java.lang.Object.

9条回答
  •  臣服心动
    2021-02-12 17:11

    I've had this problem after installing a newer version of Google ADT. The solution, at least running OS X, is to make a copy of your project to a safe location, delete it completely from Eclipse and then import it again using File->Import->General->Existing Projects into Workspace.

    FYI

    I am Using Google's on OS X Mavericks Android Developer Tools Build: v22.2.1-833290

    but I am almost sure I have done in the past with previous OSX and ADT versions.

提交回复
热议问题