xxxxxxxxxx
1. Download: https://developer.android.com/studio/releases/platform-tools
2. Unzip somewhere
3. Add where you unzipped it to your PATH (https://www.c-sharpcorner.com/article/how-to-addedit-path-environment-variable-in-windows-11/)
4. Restart your command-prompt
5. Type 'adb' and press enter. If you get a result back, it has been installed
xxxxxxxxxx
Create a file in app folder proguard-rules.pro
in this file write some code below-
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
-keep class com.google.firebase.** { *; }
-dontwarn io.flutter.embedding.**
-ignorewarnings
xxxxxxxxxx
At runtime, adb must be accessible from your PATH.
You can install adb from Homebrew Cask:
brew install --cask android-platform-tools
zsh completions have been installed to: