flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Can not get rid of main.dart run configuration

Open apm-mike-klimek opened this issue 10 months ago • 1 comments

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:

Image

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.

apm-mike-klimek avatar Feb 07 '25 16:02 apm-mike-klimek

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.

jplekkerkerker avatar Apr 03 '25 14:04 jplekkerkerker

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?

helin24 avatar Jun 30 '25 20:06 helin24

I can not reproduce it anymore, so this seems to be fixed in v86. Thanks 👍

apm-mike-klimek avatar Jul 02 '25 09:07 apm-mike-klimek

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 avatar Nov 10 '25 08:11 jplekkerkerker

@jplekkerkerker do you have a minimal sample project that reproduces this that you can share?

helin24 avatar Nov 12 '25 20:11 helin24