Improve andoid gitignore template by gameingame-eng · Pull Request #4798 · github/gitignore
This PR updates the Android.gitignore template to make it more consistent, minimal, and aligned with common Android development practices. The goal is to ignore only universally generated or sensitive files while removing project‑specific or redundant entries.
Key Improvements
-
Simplifies IntelliJ/Android Studio section by keeping only *.iml and .idea/, removing overly specific IDE files
-
Adds common Android build artifacts (*.apk, *.ap_, *.aab) and output-metadata.json
-
Adds Google Services and Firebase Crashlytics files that should never be committed
-
Adds NDK/CMake obj/ directory
-
Adds OS‑specific junk files (.DS_Store, Thumbs.db)
-
Removes redundant or overly specific patterns that are already covered by existing ignores
-
Keeps the template focused on broadly applicable Android/Gradle behavior