Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shrink / minify the app #432

Open
ghusta opened this issue Dec 13, 2024 · 0 comments · May be fixed by #433
Open

Shrink / minify the app #432

ghusta opened this issue Dec 13, 2024 · 0 comments · May be fixed by #433

Comments

@ghusta
Copy link
Owner

ghusta commented Dec 13, 2024

Use build option isMinifyEnabled = true to minify the final APK.

Also add isShrinkResources = true to enable resource shrinking.

AGP will do :

  • Code shrinking (or tree-shaking)
  • Resource shrinking
  • Optimization
  • Obfuscation (or identifier minification)

See: https://developer.android.com/build/shrink-code

@ghusta ghusta added the build label Dec 13, 2024
@ghusta ghusta added this to the 1.19.0 milestone Dec 13, 2024
ghusta added a commit that referenced this issue Dec 14, 2024
@ghusta ghusta linked a pull request Dec 14, 2024 that will close this issue
@ghusta ghusta modified the milestones: 1.19.0, 1.20.0 Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant