rss feed Twitter Page Facebook Page Github Page Stack Over Flow Page

.gitignore Android App Cheatsheet

Do you forget to create a .gitignore file when you create a new Android project? Or forget what to put in the .gitignore file?

Here's a quick cheatsheet that will help you.

#
# Custom libs
#
app/libs/CoreLib.jar

#
# Built application files
#
*.apk
*.ap_

#
# Java class files
#
.idea/
*.class

#
# Generated files
#
bin/
gen/
out/
build/
app/build/

#
# Gradle files
#
.gradle/

#
# Local configuration file (sdk path, etc)
#
local.properties

#
# Others files
#
*.iml
*.log

#
# Keystore files
#
*.jks