Adil Naseem
Adil Naseem

Reputation: 1461

How to build flutter-debug.apk

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.

Upvotes: 21

Views: 31560

Answers (1)

Finn
Finn

Reputation: 486

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.

Upvotes: 47

Related Questions