I am a beginner and I need some help. I want to generate a flutter apk of debug mode. When I run 'flutter build apk' it only generates the flutter-release.apk file but I want to generate flutter-debug.apk of the latest code. Any kind of help is much appreciated.
flutter build apk --debug
This should work.
Your app should be in the build/app/outputs/flutter-apk/app-debug.apk
inside your project directory
However for Debugging you should do this through your IDE, for example in visual studio code you just press F5 to debug your app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With