When starting debug of flutter app, and the breakpoint is red (enabled), once the app is installed, and the debug is starting, the breakpoint is disabled, and look like this:
How do I fix this so that the app will stop at breakpoint again.
I am using:
- Android Studio 2021.1.1 patch 2
- Flutter plugin 65.0.2
- Flutter version 1.22.4
- XCode 13.2.1
CodePudding user response:
The current flutter plugin 65.0.2 (for bumblebee 2021.1.1) has a bug "breaking" breakpoints in Android Studio. Downgrading to 64.1.2 gets breakpoints working again.
You can grab it here and install from disk (clicking on the gear when viewing plugins in android studio). https://plugins.jetbrains.com/plugin/9212-flutter/versions/stable