Typical .gitignore file for an Android app

前端 未结 8 1889
慢半拍i
慢半拍i 2020-12-04 05:55

Just put an Android project under git (beanstalk) version control via the command line (mac terminal). Next step is to set up exclusions.

To those

8条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 06:20

    Here is the one I use in my Android projects, it supports both ADT and Android Studio, so it is good if you are working with a team.

    # General Folders
    
    # gradle/ comment this when using gradle wrapper.
    build/
    bin/
    gen/
    tmp/
    # proguard/ comment if not using proguard.
    .gradle/
    .settings/
    .idea/
    
    # General Files
    
    .project
    .classpath
    .DS_Store
    local.properties
    *.iml
    # gradlew comment when using gradle wrapper
    # gradlew.bat comment when using gradle wrapper
    Thumbs.db
    
    
    # files specific to current project
    your_apk.apk
    

提交回复
热议问题