The "--no-shrink" FLAG with flutter build apk does't work as the document said. #141164
Labels
a: build
Building flutter applications with the tool
c: proposal
A detailed proposal for a change to Flutter
d: api docs
Issues with https://api.flutter.dev/
team-android
Owned by Android platform team
Use case
The official document said that the R8 can be disabled with the
--no-shrink
flag when runflutter build apk
.But after I tried this, I found it doesn't work, the only way to disable R8 is modify the build.gradle.
Until I run the
flutter build apk --help --verbose
I just konw that this flag doesn't work any more, and this flag was hide without the--verbose
flag, this flag confused me for a long time.I think it's a nessery to clarify this in the docs.
Proposal
Please update the part of R8 in the official docs.
Or show this flg without
--verbose
when runflutter build apk --help
(I event don't konw the --verbose flag can work with the --help command before...)The text was updated successfully, but these errors were encountered: