15

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.

1 Answer 1

32
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.

0

Not the answer you're looking for? Browse other questions tagged or ask your own question.