Page URL
https://docs.flutter.dev/deployment/android#shrinking-your-code-with-r8
Page source
No response
Describe the problem
Our documentation doesn't note that the --no-shrink flag has no effect on release builds. Running flutter build apk --help --verbose provides the following
--[no-]shrink This flag has no effect. Code shrinking is always enabled in release builds. To learn more, see:
https://developer.android.com/studio/build/shrink-code
We should update the page to reflect this.
This was initially reported in flutter/flutter#141164, so I'm making this issue to track it as a website issue instead. Thanks @yanshouwang for the issue report.
Expected fix
No response
Additional context
No response
I would like to fix this problem.
Page URL
https://docs.flutter.dev/deployment/android#shrinking-your-code-with-r8
Page source
No response
Describe the problem
Our documentation doesn't note that the
--no-shrinkflag has no effect on release builds. Runningflutter build apk --help --verboseprovides the followingWe should update the page to reflect this.
This was initially reported in flutter/flutter#141164, so I'm making this issue to track it as a website issue instead. Thanks @yanshouwang for the issue report.
Expected fix
No response
Additional context
No response
I would like to fix this problem.