1
votes

I am trying to start the Android Emulator in Android studio for Flutter project.

But I get the following message -

emulator: ERROR: Running multiple emulators with the same AVD is an experimental >feature. Please use -read-only flag to enable this feature.

I tried the same through Visual Studio Code but faced same problem.

2
Did you try using the -read-only flag? Sounds like your options are that, and running just one emulator at once. - C. Peck
how i can use it ? - Agir zibl
You solved the problem .... I created a new project now that works everything - Agir zibl

2 Answers

0
votes

I have yet to encounter this behavior, but it seems that the issue has been resolved by creating a new project. For other folks that still have this issue, there's an open GitHub Issue ticket where you can track its progress: https://github.com/flutter/flutter/issues/48894

0
votes

Probably the emulator is still locked. Remove all the lock file with: rm ~/.android/avd/*.avd/*.lock