i was looking all over the net but was unable to find solution for my problem, I imported project into eclipse Import -> Checkout Projects using Svn. After the project was imported i tried to run it as android app but the project hasn’t Android library, can’t add library with right click -> build path, please help.
Share
What you have just checked out is an android project.
But as there is no .project and .classpath files, this project is not set up to run with eclipse by default.
In order to have this project recognised as an Android project by Eclipse, you need to add the “Android Nature” to your project.
The .project file is not visible from Eclipse but you can find it under the root directory of the Shelves project once you imported it into Eclipse.
Edit your .project file and make it look like this :
Also make sure you checkout
and not
You also have to create a .classpath file at the root of the Shelves project and make it look exactly as follows :
Make sure your SDK is properly installed and your project.properties is targetting an installed SDK version. For example if you have SDK API-Level 10 installed :
Then close the project, open it again, make project > Clean…, refresh, bla bla bla … until it works.