Ted pottel
Ted pottel

Reputation: 6983

Android, trying to move Eclipse project to a different workspace

I used the import export in Eclipse to copy my android project to another workspace. All the files show up with the same folder structure. Now when I try to run it, I get a Conversion to Dalvik format failed with error one.
I tried to clean it, but got the same response.

Upvotes: 3

Views: 3946

Answers (2)

JohnnyLambada
JohnnyLambada

Reputation: 12826

You can just copy the entire project directory from one workspace to the other. As long as there are no external dependencies (android library projects, other projects) it should work just fine. You can remove the bin and gen directories in the new copy and they should be recreated.

Upvotes: 1

Rob
Rob

Reputation: 4753

I would recommend importing projects into another workspace by creating a new Android Project (in the new workspace) and then checking "Create project from existing source"

I have found the Eclipse Import functionality to be very unreliable with android projects.

Upvotes: 3

Related Questions