website icon indicating copy to clipboard operation
website copied to clipboard

'--no-shrink' flag documentation is out of date

Open gmackall opened this issue 1 year ago • 3 comments

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 https://github.com/flutter/flutter/issues/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.

  • [ ] I will try and fix this problem on docs.flutter.dev.

gmackall avatar Jan 11 '24 19:01 gmackall

Can I work on this?

Martins100-Tmd avatar Jan 24 '24 16:01 Martins100-Tmd

@Martins100-Tmd : Sure! Sorry that we missed your volunteering!

atsansone avatar Feb 21 '24 23:02 atsansone

@Martins100-Tmd : Did you still want to work on this issue?

atsansone avatar May 09 '24 16:05 atsansone