Improve andoid gitignore template#4798
Open
gameingame-eng wants to merge 1 commit intogithub:mainfrom
Open
Conversation
Author
|
If you want anything about this merge changed, comment on this PR and I'll change it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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