Eno
Eno

Reputation: 10850

Convert Android project to 'regular' Java project inside Eclipse?

Ive inherited some code which started out as an Android project but really is just an API to be used by other applications. Hence, the 'build' process usually just produces a JAR file. The problem Im having is that I get errors from the Android build tools in my console which seem to fire everytime I make a change to some files. How do I fix that?

Im using Eclipse 3.5 (Galileo).

Upvotes: 0

Views: 1889

Answers (2)

Michal
Michal

Reputation: 6683

You should copy files: .classpath and .project from other working java project. Next you should edit .project with text editor and change SampleProject to YourProjectName

Upvotes: 1

systempuntoout
systempuntoout

Reputation: 74094

  • Check run configuration and remove any reference to the Android Sdk.
  • Create a new Java project and copy project files from the older Android project to the new Java one.

Upvotes: 2

Related Questions