Android Studio更新后AVD无法启动 [英] AVD not booting after Android Studio update
问题描述
我安装了最近发布的921MB更新后,我的AVD不再启动.我不完全记得更新的实体(也许是API/SDK修订版),我在Debian上使用的是Android Studio 2.3 build AI-162.4069837和API 25修订版3(我认为这是实际更新)./p>
当我启动AVD时,它只会保持黑屏,并且永远不会完成启动.日志在开始启动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
这就像没有初始化的文件系统.
此后,我不断遇到错误循环,并粘贴到 https://pastebin.com/cbk9T8KR.
还有其他人遇到麻烦吗?关于如何使虚拟机重新工作有任何想法吗?
我最终找到了一个临时解决方案,希望他们能够解决该错误.您应该在.android/AVD/[AVD名称]/中打开config.ini并进行设置
hw.gpu.enabled=yes
hw.gpu.mode=swiftshader
VM恢复正常工作.
来源: https://issuetracker.google.com/issues/36905888 >
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?
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
这篇关于Android Studio更新后AVD无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!