Reputation: 435
Pixel 2 Api 30 AVD of my android project is not working.
It is showing me this error:
Is there anything you can do for me? Please help.
Upvotes: 17
Views: 34973
Reputation: 1
The option of whether to ALLOW USB debugging will pop up on it when the emulator starts up, you need to click "Allow". By the way, sometimes the popover will disappear quickly and automatically, you must be quick in sight and quick in hand.
Upvotes: 0
Reputation: 1
I was able to resolve this by going into device manager -> 3 dots on emulator I was using -> Wipe Data -> Cold Boot Now
Upvotes: 0
Reputation: 375
I had this error
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.
Upvotes: 5
Reputation: 1
Just create new emulator device by: Device Manager > Create Device
Upvotes: 0
Reputation: 211
I get this error sometimes, and what usually helps me is to choose "Cold boot now" on the vertical dots-menu of this virtual device.
Upvotes: 1
Reputation: 61
Device Manager->options -> show on disk -> (hardware-qemu.ini.lock) delete this file, restart your ide and run your app. this worked for me
Upvotes: 4
Reputation: 15
You can increase AVD level above 11. If you use 12 or more you will not get this error.
Upvotes: 0
Reputation: 382
If you’re working on API Level 30 and your emulator version is 30.1.2 then updating it to 30.1.5 would perhaps resolve your issue. Updating Emulator is a breeze, simply: Android Studio -> Go to preferences -> Android SDK -> Then find and update the Android Emulator from the list.
Upvotes: 1