Skip to content

Instantly share code, notes, and snippets.

@renanferrari
Created September 19, 2015 15:45
Show Gist options
  • Save renanferrari/28e40d727f266227eb6a to your computer and use it in GitHub Desktop.
Save renanferrari/28e40d727f266227eb6a to your computer and use it in GitHub Desktop.
Android .gitignore
# Built application files
*.apk
*.ap_
*.jar
# Do not remove ('app' = app's module name)
!gradle/wrapper/gradle-wrapper.jar
!app/libs/**/*.jar
# Files for the dex VM
*.dex
# Java class files
*.class
# Generated files
bin/
gen/
classes/
gen-external-apklibs/
# Gradle files
.gradle/
build/
# Local configuration file (sdk path, etc)
local.properties
# Signing configuration file
signing.properties
# Mac OS X
*.DS_Store
# Windows
Thumbs.db
# Eclipse project files
.classpath
.project
.metadata
.settings
# Proguard folder generated by Eclipse
proguard/
# Eclipse Metadata
.metadata/
# IntelliJ files
.idea
*.iml
# Maven
target
# Lint
lint
# Built native files
*.o
*.so
# vi swap files
*.swp
# Backup files
*.bak
# Crashlytics files (http://blog.danlew.net/2015/02/20/setting-up-a-new-app-in-crashlytics-without-the-plugin/)
com_crashlytics_export_strings.xml
# Commands to fix untracked files issues
#
# List all untracked files:
# git ls-files --others --exclude-standard
#
# Retrack everything (WARNING: commit all current changes before running this):
# git rm -r --cached .
# git add .
#
# References:
# http://stackoverflow.com/a/3801554/518179
# http://stackoverflow.com/a/11451731/518179
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment