模拟器:连接到套接字'127.0.0.1:1970'时出错:111 - >拒绝连接

时间:2015-02-13 04:48:45

标签: android linux-kernel android-emulator fedora

模拟器已经停止在Fedora 21上运行3.18和3.19内核。 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

2 个答案:

答案 0 :(得分:4)

修复它的补丁已被上游接受。 Workaround仍然可用。

Intel dev的解决方案引用了该问题。

  

我无法代表谷歌发言,他决定何时发布新版本   模拟器(SDK工具)。但对于那些现在需要这个修复的人来说,确实如此   可以手动将其应用到Android SDK安装:

     
      
  1. 下载附件中的bios.bin。它与我刚刚上传到https://android-review.googlesource.com/159501的文件相同(仍然是   正在审查中)。要从评论下载,请使用以下链接   而不是:
      https://android-review.googlesource.com/cat/159501%2C1%2Cx86/pc-bios/bios.bin%5E0

  2.   
  3. 备份$ ANDROID_SDK_ROOT / tools / lib / pc-bios / bios.bin($ ANDROID_SDK_ROOT是Android SDK安装目录)。

  4.   
  5. 将下载的bios.bin复制到$ ANDROID_SDK_ROOT / tools / lib / pc-bios /.

  6.   

答案 1 :(得分:-4)

你设置了

的使用权限
  1. 网络

  2. 网络套接字

  3. 将其设为 Manifest.XML 文件使用权限

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

    Click For all Listed Permission