问题
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).
回答1:
- 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.
回答2:
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
来源:https://stackoverflow.com/questions/2569315/convert-android-project-to-regular-java-project-inside-eclipse