Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVD shows error Error while waiting for device: Illegal char <*> at index 0: *.lock

Pixel 2 Api 30 AVD of my android project is not working. It is showing me this error: enter image description here

Is there anything you can do for me? Please help.

like image 230
HamzaKhalid273 Avatar asked Dec 18 '25 12:12

HamzaKhalid273


2 Answers

I had this error

enter image description here

and solved it by going to Device Manager > Edit this AVD (pencil icon) > Show Advanced Settings > Emulated Performance > Boot Options : select "Cold Boot"

Then I restarted Android Studio and did not get the error again.

like image 58
simonarame Avatar answered Dec 21 '25 05:12

simonarame


Device Manager->options -> show on disk -> (hardware-qemu.ini.lock) delete this file, restart your ide and run your app. this worked for me

like image 33
Özer Bayraktar Avatar answered Dec 21 '25 05:12

Özer Bayraktar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!