flutter-intellij
flutter-intellij copied to clipboard
Can not get rid of main.dart run configuration
Hi, my app has two flavors, so I added two run configurations and removed the default main.dart one. However the main.dart run configuration keeps reappearing when open Android Studio and is selected by default:
This must be a recent change, because it did not happen in the past. It can easily lead to building the wrong app and testing on the wrong environment.
I'm having the same issue. I can remove it, but the next time I'm opening the project it's right back.
This is in Android Studio Ladybug Feature Drop | 2024.2.2 Patch 1, Build #AI-242.23726.103.2422.13016713, built on February 5, 2025.
Hmm that's very odd - are you still able to reproduce this in Flutter plugin v86? I'm not able to reproduce myself; are you able to do so on a minimal sample project that I can try out?
I can not reproduce it anymore, so this seems to be fixed in v86. Thanks 👍
I'm still having this issue on Android Studio Otter | 2025.2.1 Build #AI-252.25557.131.2521.14344949, built on October 29, 2025 with the Flutter v88 plugin.
@jplekkerkerker do you have a minimal sample project that reproduces this that you can share?