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

后端 未结 30 3363
星月不相逢
星月不相逢 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:04

    Compilation:

    #built application files
    *.apk
    *.ap_
    
    # files for the dex VM
    *.dex
    
    # Java class files
    *.class
    
    # generated files
    bin/
    gen/
    
    # Gradle files
    .gradle/
    build/
    /*/build/
    
    # Local configuration file (sdk path, etc)
    local.properties
    
    # Proguard folder generated by Eclipse
    proguard/
    
    # Log Files
    *.log
    
    # Windows thumbnail db
    Thumbs.db
    
    # OSX files
    .DS_Store
    
    # Eclipse project files
    .classpath
    .project
    
    # Android Studio
    *.iml
    .idea
    #.idea/workspace.xml - remove # and delete .idea if it better suit your needs.
    .gradle
    build/
    
    # Intellij project files
    *.iml
    *.ipr
    *.iws
    .idea/
    

提交回复
热议问题