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(我认为最后一件事是实际更新).
当我启动 AVD 时,它只是保持黑屏并且永远不会完成启动.日志在启动 AVD 后立即显示此错误:
1292-1328/?E/vold: 无法 chmod/data/system_ce/0: 没有那个文件或目录1292-1328/?E/vold: 无法 chmod/data/misc_ce/0: 没有那个文件或目录1292-1328/?E/vold: 无法 chmod/data/media/0: 没有那个文件或目录
就好像没有初始化文件系统一样.
之后我不断收到错误循环,我将其粘贴在 https://pastebin.com/cbk9T8KR一>.
还有人遇到问题吗?关于如何让 VM 再次工作的任何想法?
我最终找到了一个临时解决方案,希望他们能够修复该错误.您应该在 .android/AVD/[AVD name]/中打开 config.ini 并设置
hw.gpu.enabled=yeshw.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屋!