Skip to content

Add -repackageclasses to R8 configuration#1878

Merged
dturner merged 1 commit into
android:mainfrom
christofferqa:repackageclasses
Jul 11, 2025
Merged

Add -repackageclasses to R8 configuration#1878
dturner merged 1 commit into
android:mainfrom
christofferqa:repackageclasses

Conversation

@christofferqa
Copy link
Copy Markdown
Contributor

This adds -repackageclasses to the R8 configuration so that most classes will have their package name stripped in the release build. This reduces the size of the descriptors in the app and thus the size of the generated dex.

@keyboardsurfer keyboardsurfer self-requested a review May 28, 2025 12:47
@dturner dturner merged commit 401e784 into android:main Jul 11, 2025
5 checks passed
lihenggui pushed a commit to lihenggui/nowinkmp that referenced this pull request Feb 11, 2026
Add -repackageclasses to R8 configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants