This is a short post, with a decent .gitignore setup for Android Studio projects.
I constantly find myself in need of one, so I thought I’d just post it here.
Is this similar to your .gitignore files for Android Studio projects?
.DS_Store
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
# generated files
bin/
gen/
# Local configuration file (sdk path, etc)
local.properties
# Eclipse project files
.classpath
.project
# Android Studio
.idea/
.gradle
gradle
/*/local.properties
/*/out
/*/*/build
build
/*/*/production
*.iml
*.iws
*.ipr
*~
*.swp