简体   繁体   English

模拟器:连接至套接字“ 127.0.0.1:1970”时出错:111->连接被拒绝

[英]emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused

Emulator has stopped working on Fedora 21 starting 3.18 and 3.19 kernels. 模拟器已停止从3.18和3.19内核开始的Fedora 21上的工作。 API 21 emulators don't boot they are stuck with black screen. API 21仿真器无法启动,它们被黑屏卡住了。 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. 问题引用了英特尔开发人员的解决方法。

I cannot speak for Google, who decides when to issue a new release of the emulator (SDK Tools). 我不能代表Google,后者决定何时发布模拟器的新版本(SDK工具)。 But for people who need this fix now, it is possible to manually apply it to their Android SDK installation: 但是对于现在需要此修复程序的人,可以将其手动应用于其Android SDK安装中:

  1. Download the attached bios.bin. 下载附件的bios.bin。 It is the same file that I just uploaded to https://android-review.googlesource.com/159501 (still under review). 这是我刚刚上传到https://android-review.googlesource.com/159501的文件(仍在审核中)。 To download from the review, use the following link instead: 要从评论下载,请改用以下链接:
    https://android-review.googlesource.com/cat/159501%2C1%2Cx86/pc-bios/bios.bin%5E0 https://android-review.googlesource.com/cat/159501%2C1%2Cx86/pc-bios/bios.bin%5E0

  2. Make a backup of $ANDROID_SDK_ROOT/tools/lib/pc-bios/bios.bin ($ANDROID_SDK_ROOT is the Android SDK installation directory). 备份$ ANDROID_SDK_ROOT / tools / lib / pc-bios / bios.bin($ ANDROID_SDK_ROOT是Android SDK安装目录)。

  3. Copy the downloaded bios.bin to $ANDROID_SDK_ROOT/tools/lib/pc-bios/. 将下载的bios.bin复制到$ ANDROID_SDK_ROOT / tools / lib / pc-bios /。

have u set use-permission of 您是否设置了使用权限

  1. Internet 互联网

  2. Network Socket 网络插座

Set it to Manifest.XML File uses-permission 将其设置为Manifest.XML文件使用权限

android:name="android.permission.ACCESS_NETWORK_STATE" 
android:name="android.permission.INTERNET"

Click For all Listed Permission 单击“获取所有列出的权限”

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ubuntu:所有android模拟器(x86和arm)卡在“连接到套接字时出错&#39;127.0.0.1:1970&#39;:111 - &gt;连接被拒绝” - ubuntu: all android emulator(x86 and arm) stuck on “Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused” Android模拟器无法在Macbook Pro上完成启动(连接到套接字&#39;127.0.0.1:1970&#39;时出错) - Android emulator does not complete startup on Macbook Pro (Error while connecting to socket '127.0.0.1:1970') AndroidViewClient中的Culebra返回“ RuntimeError:错误:连接到 - Culebra in AndroidViewClient returns "RuntimeError: ERROR: Connecting to <socket… [Errno 111] Connection refused Errno111 连接被拒绝 Kivy 套接字错误 - Errno111 Connection Refused Kivy Socket Error 未处理的异常:SocketException:操作系统错误:连接被拒绝,errno = 111,地址 = 127.0.0.1,端口 = 40712 - Unhandled Exception: SocketException: OS Error: Connection refused, errno = 111, address = 127.0.0.1, port = 40712 urlopen 错误 [errno 111] 连接被拒绝 - urlopen error [errno 111] connection refused 如何解决Indy套接字错误#111 Delphi 2007服务器与RAD XE7客户端之间的连接被拒绝? - How to solve Indy socket error #111 connection refused between Delphi 2007 server and RAD XE7 client? Android套接字连接拒绝错误 - Android socket connection refused error 应用程序无法在 android 上运行 [连接被拒绝(操作系统错误:连接被拒绝,errno = 111)] 地址 = 本地主机,端口 = 51034 - App in not working on android[ Connection refused (OS Error: Connection refused, errno = 111) ] address = localhost, port = 51034 SocketException:连接被拒绝(操作系统错误:连接被拒绝,errno = 111),地址 = localhost,端口 = 44382 - SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 44382
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM