What should be add in the gitignore when you work with Android studio 2.2 ?
Really interesting question. We all know when we work with GIT, we should be very careful with the file we commit. It might lead to un-necessary problems. I will add a typical
.gitignore file so that you can use it in your future android studio projects.
# to add comments in your file.
*.iml # built application files *.apk *.ap_ # files for the dex VM *.dex # Java class files *.class # built native files (uncomment if you build your own) # *.o # *.so # generated files bin/ gen/ # Ignore gradle files .gradle/ build/ # Local configuration file (sdk path, etc) local.properties # Proguard folder generated by Eclipse proguard/ # Eclipse Metadata .metadata/ # Mac OS X clutter *.DS_Store # Windows clutter Thumbs.db # Log Files *.log # Android Studio Navigation editor temp files .navigation/ # Android Studio captures folder captures/ # Keystore files *.jks # Intellij IDEA (see https://intellij-support.jetbrains.com/entries/23393067) .idea/workspace.xml .idea/tasks.xml .idea/datasources.xml .idea/dataSources.ids # External native build folder generated in Android Studio 2.2 and later #important if you are working with c++ project. .externalNativeBuild
I will update the file there is any changes. Let me know if i have missed any important file here. I got this format in the Intellij IDEA website so there might be a missing file.