android - 模拟器 : Error while connecting to socket '127.0.0.1:1970' : 111 -> Connection refused

标签 android linux-kernel android-emulator fedora

从 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:

  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

  2. Make a backup of $ANDROID_SDK_ROOT/tools/lib/pc-bios/bios.bin ($ANDROID_SDK_ROOT is the Android SDK installation directory).

  3. 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/

相关文章:

android Android Support Repository vs Android Support Library vs Google Repository vs Google Play Services有什么区别

java - 在日期对象中从 BST 到 Java 中的 IST 的日期转换

c - 用户空间和内核空间之间的共享信号量

android - 如何为我的 Google map 应用程序使用具有 Google Play 服务依赖性的非 Nexus 5 模拟器

android - 我想模拟 Samsung Galaxy S10+,但皮肤无法模拟行为

android - 应用程序开发的新手。创建一个将一个类链接到另一个类的按钮?

java - 可能是 line.containes() 在 Android 中缺少搜索词吗?

在内核模块中将网络字节序IP转换为ip4格式的主机字节序

c - 为什么 Linux 内核使用 do_div 而不是/?

android - 如何修复慢速 Android 模拟器?