Android Studio: create Java project with no Android dependencies

前端 未结 10 1670
遇见更好的自我
遇见更好的自我 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 17:12

    Easiest Way From Scratch

    1. Create a empty folder where you want to put the project
    2. At the 'Welcome to Android Studio' screen, choose "Open existing..."
    3. Navigate to your folder and hit OK
    4. Your project is created, now add your java files
    5. Choose the SDK and you're done! Happy coding

提交回复
热议问题