Skip to content

fix(build): guard R8 obfuscation - #6610

Open
SeniorZhai wants to merge 7 commits into
masterfrom
build/agp-931-lint-940-rc01
Open

fix(build): guard R8 obfuscation#6610
SeniorZhai wants to merge 7 commits into
masterfrom
build/agp-931-lint-940-rc01

Conversation

@SeniorZhai

Copy link
Copy Markdown
Member

No description provided.

- Pin build tooling and the Android container image to immutable versions.
- Verify trusted signing identity and compare complete release APK contents.
Build device-specific APKs from the release bundle so verification
matches Google Play delivery. Preserve non-signature metadata and
fail closed when any installed split differs.
AGP 9.3.1 enables the R8 Configuration Analyzer. Its bundled
intellij-core still calls Java 21 List.removeLast() in
JavaDocParser. Pin lint to 9.4.0-rc01 so the parser uses
Kotlin CollectionsKt.removeLast() on JDK 17.
Previous obfuscation left Gson and persisted-data compatibility unprotected. Keep those boundaries explicit while allowing app code to be optimized and renamed.
@SeniorZhai SeniorZhai added the testing Now testing, but you can review label Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Now testing, but you can review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant