in one of my Flutter project I cannot any longer see a target selector to select the device
It is interesting because if I open another project the selector is there
so there must be an issue with my first project or a setting I need to adjust...
Any help? How can I have my device selector back???
I had one Flutter project that always opened without the "Flutter Device Selection" drop-down and the "Run 'main.dart'" menu item was always greyed out. Other projects worked fine. After following the steps below, the problematic project could build and run in the emulator properly.
.idea
folder in the root of your projectWhat solved it for me was just to check the "Enable Dart support for the project [project name]" checkmark, at Android Studio > Preferences > languages & Frameworks > Dart, originally got the solution from here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With