Installed android studio latest update and started a project. But when I press run, emulator is not showing up. And it say delete *.lock files. But I have already tried. Still couldn't see the emulator. Please help me.
You don't need to touch the configuration files.
You can easily find the files location by clicking on the arrow under the Actions tab (in the ADB manager), and selecting "Show on Disk".
CodePudding user response:
On the AVD (Android Virtual Device), edit the device graphic setting from Automatic or Hardware to Software
CodePudding user response:
Go to the down arrow and click on the "Show on Disk" link like the attached image. You will get the list of all files, remove the file "hardware-qemu.ini.lock" and start again.
CodePudding user response:
Try to delete All the .lock files under .android/AVD/emulator_name/.lock, And right click the emulator wipe data,restart/rerun the emulator.
It's restart the Avd and rebuild the gradle projects.
CodePudding user response:
You can open the task manager and see if there are "qemu-system-x86-64.exe", "adb.exe" and "emulator64-crash-service.exe" processes among the processes, and then you can kill these processes. so you can restart your emulator.
CodePudding user response:
Thank you all for the answers. After trying many ways of your suggestion, I finally decided to uninstall this version and reinstalled the previous archive and it now working fine. I still don't know the reason why. Thanks