The project was not built since its build path is incomplete

前端 未结 18 1318
一向
一向 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:38

    I have seen such errors in past while importing projects in eclipse. The solution to that is to go to properties->Android and select project build target appropriately (Android x.x.x or Google APIs)

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

    Close eclipse and re-open worked for me. You may have to do this two or three times. Each time give it a minute for the auto build startup process (check bottom right hand corner) to complete, as these errors often disappear at this time.

    Or try to clean the affected projects.

    'Turn it off and on again'

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

    None of this worked for me. I created a new workspace for the projects. That worked for me! Switching to a new workspace usually miraculously solves a lot of these configuration problems. Simply create a new folder where you would want your new workspace to be and then use 'import project from existing code'.

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

    Was struggling with this while trying to load the Vuforia Sample App for way too long today. The solution that finally got my project to build was:

    1) Window->Android SDK Manager and Install the latest updates
    2) Project->Build Path->Configure Build Path->Android and under Project Build Target mark Android 4.4.2 and click OK
    3) Clean, Build and Run

    I hope this solves somebody else's issue as well, Eclipse is frustrating as F$#@!!!

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

    I've had similar problem. Exact same error, but in Ubuntu after I worked on project in dropbox folder from Windows. I've just added android.jar to project. Somehow it disappeared from build path.

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

    Initially I was trying to import an android project from github and encountered the above problem

    • cannot configure build path

    • unable to get system libraries


    Package Explorer -> Right click the project -> “Properties” -> "Android" -> "Project Build Target" = 2.3.3

    Note: Also try Clean (On Windows: Project -> Clean) then Refresh (F5) at random. There's a good chance this will magically solve all your problems.


    courtesy: KYLE CLEGG
    reference link

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