Reputation: 5880
I have an Android Eclipse project and an associated Android Test Eclipse project checked into a subversion repository. Given a checked out working copy, how do I bring the Android Test project into an Eclipse workspace?
It's easy to add the Android project to the workspace (just File->New Project->Android Project->From Existing Source and point it at the directory in the svn working copy). But, the 'New Android Test Project' does not have an option to create from existing source.
Upvotes: 14
Views: 3289
Reputation: 1
I also had to R. click the test app (after importing as a normal Existing Android app) -> Properties -> Resource -> Android -> check the appropriate emulated Android box to get the Android JUnit Test option for running/debugging which was otherwise missing.
Upvotes: 0
Reputation: 5223
Upvotes: 13
Reputation: 9207
Was searching for this functionality and didn't find it either :)
What I did in the end is this:
Simply put, I just generated new .classpath and .project files and copied them to checked out project dir.
After cleaning and refreshing in Eclipse this worked out :) Of course this is not a real solution, but an ugly workaround which I even don't expect to work in any situation, but who knows, might help you. Cheers.
Upvotes: 8
Reputation: 22116
I think you want Import > Existing project, especially if the .project and .classpath files are checked into version control.
Upvotes: 1