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

后端 未结 2 1652
盖世英雄少女心
盖世英雄少女心 2021-01-17 07:01

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 produce

相关标签:
2条回答
  • 2021-01-17 07:32
    • 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.
    0 讨论(0)
  • 2021-01-17 07:37

    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 讨论(0)
提交回复
热议问题