[英]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安装中:
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%5E0https://android-review.googlesource.com/cat/159501%2C1%2Cx86/pc-bios/bios.bin%5E0
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安装目录)。
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 您是否设置了使用权限
Internet 互联网
Network Socket 网络插座
Set it to Manifest.XML File uses-permission 将其设置为Manifest.XML文件使用权限
android:name="android.permission.ACCESS_NETWORK_STATE"
android:name="android.permission.INTERNET"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.