The project was not built since its build path is incomplete

前端 未结 18 1319
一向
一向 2020-12-04 15:29

Every time I try to import a project downloaded from googlecode into Eclipse but I get some errors:

The project was not built since its build

相关标签:
18条回答
  • 2020-12-04 15:56

    I know this is too late. but I am also facing this issue and I fix this by following below steps.

    1. This issue is occurred only if the project shared between different machines.
    2. For me I found java JDK is the problem.
    3. My colleague used mac system and using jdk 1.7. but in my system I used jdk 1.6.
    4. I guess that may be the issue. So I select project and open properties and change my jdk to 1.7
    5. Change target=Google Inc.:Google APIs:19
    6. 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.

    0 讨论(0)
  • 2020-12-04 15:56

    if the project is not very big, you can copy the packages and paste it into a new project, you won't see the errors in the new project.

    0 讨论(0)
  • 2020-12-04 15:57

    I had my "Build Automatically" turned off in "Project". I turned it off, because the Eclipse was not loading the projects correctly, for various unknown reasons. Turning this on, solved my problem.

    0 讨论(0)
  • 2020-12-04 15:58

    For me this problem was related to OpenJDK 6 on Ubuntu.

    Update your JRE or install Sun's proprietary JRE instead and restart Eclipse.

    0 讨论(0)
  • 2020-12-04 16:00

    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".

    0 讨论(0)
  • 2020-12-04 16:05

    I had to delete R.java in the gen folder, then do a clean build. This solved my issue.

    0 讨论(0)
提交回复
热议问题