问题描述
仿真器已停止在Fedora 21上启动3.18和3.19内核. API 21仿真器无法启动,它们被黑屏卡住了.任何解决此问题的指针将不胜感激.
Emulator has stopped working on Fedora 21 starting 3.18 and 3.19 kernels. API 21 emulators don't boot they are stuck with black screen. Any pointers to resolve this issue would be much appreciated.
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 26
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 26
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 26
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 26
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 26
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 26
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 26
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
emulator: ASC 127.0.0.1:1970: Retrying connection. Connector FD = 26
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
推荐答案
用于修复此问题的补丁已在上游接受. 解决方法仍然可用.
The patch that fixes it has been accepted upstream. Workaround is still available.
此问题引用了英特尔开发人员的解决方法.
Intel dev's workaround quoted from the issue.
-
下载附件中的bios.bin.这是我刚刚上传到 https://android-review.googlesource.com/159501 的文件a>(仍然 审核中).要从评论下载,请使用以下链接 代替:
https://android-review.googlesource .com/cat/159501%2C1%2Cx86/pc-bios/bios.bin%5E0
Download the attached bios.bin. It is the same file that I just uploaded to https://android-review.googlesource.com/159501 (still under review). To download from the review, use the following link instead:
https://android-review.googlesource.com/cat/159501%2C1%2Cx86/pc-bios/bios.bin%5E0
备份$ ANDROID_SDK_ROOT/tools/lib/pc-bios/bios.bin($ ANDROID_SDK_ROOT是Android SDK安装目录).
Make a backup of $ANDROID_SDK_ROOT/tools/lib/pc-bios/bios.bin ($ANDROID_SDK_ROOT is the Android SDK installation directory).
将下载的bios.bin复制到$ ANDROID_SDK_ROOT/tools/lib/pc-bios/.
Copy the downloaded bios.bin to $ANDROID_SDK_ROOT/tools/lib/pc-bios/.
这篇关于模拟器:连接到套接字"127.0.0.1:1970"时出错:111->连接被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!