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

查看:31
本文介绍了模拟器:连接到套接字“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,它决定何时发布新版本模拟器(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(还是审查中).要从评论中下载,请使用以下链接相反:
    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天全站免登陆