Run svn as android project -
i looking on net unable find solution problem, imported project eclipse import -> checkout projects using svn. after project imported tried run android app project hasn't android library, can't add library right click -> build path, please help.
what have checked out android project.
but there no .project , .classpath files, project not set run eclipse default.
in order have project recognised android project eclipse, need add "android nature" project.
the .project file not visible eclipse can find under root directory of shelves project once imported eclipse.
edit .project file , make :
<?xml version="1.0" encoding="utf-8"?> <projectdescription> <name>shelves</name> <comment></comment> <projects> </projects> <buildspec> <buildcommand> <name>com.android.ide.eclipse.adt.resourcemanagerbuilder</name> <arguments> </arguments> </buildcommand> <buildcommand> <name>com.android.ide.eclipse.adt.precompilerbuilder</name> <arguments> </arguments> </buildcommand> <buildcommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildcommand> <buildcommand> <name>com.android.ide.eclipse.adt.apkbuilder</name> <arguments> </arguments> </buildcommand> </buildspec> <natures> <nature>com.android.ide.eclipse.adt.androidnature</nature> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectdescription> also make sure checkout
and not
you have create .classpath file @ root of shelves project , make follows :
<?xml version="1.0" encoding="utf-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="gen"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.android_framework"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.libraries"/> <classpathentry kind="output" path="bin/classes"/> </classpath> make sure sdk installed , project.properties targetting installed sdk version. example if have sdk api-level 10 installed :
# project target. target=android-10 then close project, open again, make project > clean..., refresh, bla bla bla ... until works.
Comments
Post a Comment