What should be in my .gitignore for an Android Studio project?

后端 未结 30 3703
星月不相逢
星月不相逢 2020-11-22 04:23

What files should be in my .gitignore for an Android Studio project?

I\'ve seen several examples that all include .iml but IntelliJ docs sa

30条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-22 05:07

    Tested with Android Studio 3.0

    You might need to Install .ignore plugin.

    You can auto-generate the .gitignore file for Android. Right click on folder and follow

    Then Select Android from left panel and click Generate

    Android Studio will generate .gitignore file which contains all the file need to ignore.

    Taken from http://menukanows.com/how-to-add-gitignore-file-in-android-project/

提交回复
热议问题