模拟器:连接到套接字"127.0.0.1:1970"时出错:111->连接被拒绝 [英] emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused

查看:202
本文介绍了模拟器:连接到套接字"127.0.0.1:1970"时出错:111->连接被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仿真器已停止在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.

我无法代表Google,Google决定何时发布新版本的 仿真器(SDK工具).但是对于现在需要此修复程序的人来说,它是 可以手动将其应用于其Android SDK安装:

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:

  1. 下载附件中的bios.bin.这是我刚刚上传到 https://android-review.googlesource.com/159501 的文件a>(仍然 审核中).要从评论下载,请使用以下链接 代替:
    https://android-review.googlesource .com/cat/159501%2C1%2Cx86/pc-bios/bios.bin%5E0

  1. 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->连接被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆