Android .gitignore Template
Android Studio local properties, build outputs, and Gradle cache. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.
Interactive Stack Generator
Preconfigured with AndroidAndroid Studio local properties, build outputs, and Gradle cache
### Android #### Gradle files.gradle/build/.kotlin/ # Local configuration file (sdk path, etc)local.properties # Log/OS Files*.log # Android Studio generated files and folderscaptures/.externalNativeBuild/.cxx/*.aab*.apkoutput-metadata.json # IntelliJ*.iml.idea/misc.xmldeploymentTargetDropDown.xmlrender.experimental.xml # Keystore files*.jks*.keystore # Google Services (e.g. APIs or Firebase)google-services.json # Android Profiling*.hprof Raw Android .gitignore
Crawlable upstream source template# Gradle files.gradle/build/.kotlin/ # Local configuration file (sdk path, etc)local.properties # Log/OS Files*.log # Android Studio generated files and folderscaptures/.externalNativeBuild/.cxx/*.aab*.apkoutput-metadata.json # IntelliJ*.iml.idea/misc.xmldeploymentTargetDropDown.xmlrender.experimental.xml # Keystore files*.jks*.keystore # Google Services (e.g. APIs or Firebase)google-services.json # Android Profiling*.hprof Key Pattern Breakdown
Build Outputs & Compiled Artifacts
Generated binary files, compilation targets, and distribution bundles that can be reliably reproduced from source.
Environment Secrets & Local Overrides
Local environment configurations, secrets, and credentials intended to protect developer-specific settings from exposure.
Execution Caches & Runtime Logs
Diagnostic logs, runtime metadata, test coverage reports, and incremental compiler caches that cause noisy repository diffs.
Operating System & Workspace Files
Editor-specific workspace configuration and OS filesystem metadata generated automatically by host operating systems.
Source & Verification
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.