Quantum
Quantum

Reputation: 29

android studio emulator not selectable

I want to start coding with flutter, so i decided to download android studio.I created an avd called "Pixel 2 API 28" with android pie. When i want to select the pixel 2 as the avd device, the programme tells me that theres no avd, but on the right i can see the avd i created. When i put my cursor on it, it says "not applicable for the main.dart configuration". i have HAXM installed and Hyper-V is disabled, but i also tried it with both being active. I used the default code, which appears when you launch android studio. Please help!!!

Edit: I somehow managed to select it now, but i get this error: Running multiple emulators with the same AVD is an experimental feature. Please use -read-only flag to enable this feature.

enter image description here enter image description here

Upvotes: 1

Views: 2883

Answers (2)

muhammad obaid
muhammad obaid

Reputation: 117

Close Android Studio and Run again as Administrator This is Only the solution i got after working hard for 3 days.

Upvotes: 0

Rahul Raj
Rahul Raj

Reputation: 332

Try starting the emulator from avd and then check if the device is showing up there if not try running

flutter devices

If the device shows there you can try running

flutter run -d <your-device-name>

You can also check whether the android sdk is configured with flutter try running

flutter config --android-sdk /path/andriod/sdk

hope it helps

Upvotes: 2

Related Questions