Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to resolve target 'android-15' until the SDK is loaded

i'm quite new in eclipse.

I download a coding a get the error as below:

  • the project was not build since its build path is incomplete. Cannot find the class for java.lang.Object. Fix the build path then try building this project
    -The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
  • Unable to resolve target 'android-15'
  • Unable to resolve target 'android-15' until the SDK is loaded.

Any idea how to solved it?

like image 534
user2301281 Avatar asked Apr 20 '13 04:04

user2301281


1 Answers

One thing which solved it for me was closing, then re-opening the project (r-click on project name in Package Explorer, "Close Project" then r-click on project name in Package Explorer, "Open Project").

No amount of cleaning the project helped me, and I had the correct version of the API installed. Eclipse is just super buggy and often breaks my build paths.

like image 65
Kyle Falconer Avatar answered Sep 17 '22 18:09

Kyle Falconer