How to set the obfuscate dictionary when build the release version, just like the setting in Android build.gradle:
-proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'),'proguard-rules.pro'
I am using the following command, there is no way to set the dictionary:
-flutter build apk --obfuscate --split-debug-info=//
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19042.1165], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] IntelliJ IDEA Ultimate Edition (version 2020.3)
[√] Connected device (2 available)
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/b17cefa5-7de1-45eb-84ba-0b8ac07f8684n%40googlegroups.com.