开发者

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?

开发者_JAVA百科Im using Eclipse 3.5 (Galileo).


  • 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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜