AVD not booting after Android Studio update

3.3k Views Asked by At

My AVDs are no longer booting after I installed a 921MB update released these days. I don't exactly remember the entity of the update (maybe API/SDK revision), I'm using Android Studio 2.3 build AI-162.4069837 with API 25 revision 3 (I think this last thing is the actual update) on Debian.

When I start up the AVD it just keeps a black screen and never completes booting. The log shows this error just after it starts booting the AVD:

1292-1328/? E/vold: Failed to chmod /data/system_ce/0: No such file or directory
1292-1328/? E/vold: Failed to chmod /data/misc_ce/0: No such file or directory
1292-1328/? E/vold: Failed to chmod /data/media/0: No such file or directory

It's like there is no file system initalized.

After that I keep getting a loop of errors, which I pasted at https://pastebin.com/cbk9T8KR.

Anybody else having troubles? Any ideas on how to get the VM working again?

2

There are 2 best solutions below

0
On BEST ANSWER

I eventually found a temporary solution hoping they'll fix the bug. You should open config.ini inside .android/AVD/[AVD name]/ and set

hw.gpu.enabled=yes
hw.gpu.mode=swiftshader

and the VM got back to work properly.

Source: https://issuetracker.google.com/issues/36905888

0
On

for all Windows Users the config.ini is in

C:\Users\yourname.android\avd\yourdevicename.avd/config.ini

and the entries

hw.gpu.enabled=yes hw.gpu.mode=auto

exist already. But the change of hw.gpu.mode to "swiftshader" works perfectly.