I removed the emulator and reinstalled it and got the same error.
Emulator: emulator: ERROR: Running multiple emulators with the same AVD is an experimental
The very simple solution which is working all the time is to stop the emulator before launching the new project. If this error comes back you make a duplication of the AVD and delete the old one and run the new one. It works all the time.
Removing the .lock files did the trick for me. Find the avd and remove the lock files. In a Mac .android/avd/'NAMEOFAVD.avd directory
. The files I removed were hardware-qemu.ini.lock
and multiinstance.lock
.
Removing the cache could help
sudo rm /home/${USER}/.android/avd/*/*.cache
This means that your AVD manager thinks that your emulator is running. It thinks that because it sees lockfiles in your avd directory. If your emulator is not running they you can (should) safely delete the lockfiles here :
$ rm $HOME/.android/avd/<name-of-your-avd>.avd/*.lock
It can be solved using this method. It worked for me. Follow the steps.
This will stop the emulator and then you can restart it from the commmand line.
just open your task manger, look for adb.exe
, end task of all abd.exe
extensions and restart your emulator.