Android Studio: create Java project with no Android dependencies

前端 未结 10 1681
遇见更好的自我
遇见更好的自我 2020-12-12 16:20

It\'s possible to add pure Java module to existing Android project.

But is it possible to create pure Java project with no Android dependencies?

10条回答
  •  孤城傲影
    2020-12-12 16:54

    Easiest method is to temporarily disable the Android Support Plugin. Un-check Configuration > Plugin > Android Support Plugin After restarting close any current project and you will get the new project wizard with all of your non-android options. Once your new project is created you can re-enable the Android plugin.

提交回复
热议问题