Flutter flavors cause issues with android emulator

Anyone found a way to get flutter flavors working with android emulator? It causes issues for me.

I have added the “–flavor” “dev” to my previews.previews.android.command and doing so causes problems.

hm, I can’t seem to repro. Can you help us with a bit more details please? What issues are you seeing, any specific logs that you see. What happens if you run “flutter run --machine -d android -d localhost:5555 --flavor dev” manually in the termal?

To rule out emulator issues, can you list the devices with the command “adb devices” and make sure localhost:5555 is there please?