从 3.18 和 3.19 内核开始,模拟器已停止在 Fedora 21 上运行。 API 21 模拟器无法启动,它们卡在黑屏中。非常感谢任何解决此问题的建议。
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
最佳答案
修复它的补丁已被上游接受。 Workaround仍然可用。
英特尔开发人员从该问题中引用的解决方法。
I cannot speak for Google, who decides when to issue a new release of the emulator (SDK Tools). But for people who need this fix now, it is possible to manually apply it to their Android SDK installation:
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%5E0Make a backup of $ANDROID_SDK_ROOT/tools/lib/pc-bios/bios.bin ($ANDROID_SDK_ROOT is the Android SDK installation directory).
Copy the downloaded bios.bin to $ANDROID_SDK_ROOT/tools/lib/pc-bios/.
关于android - 模拟器 : Error while connecting to socket '127.0.0.1:1970' : 111 -> Connection refused,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28492702/