模拟器:连接到套接字“127.0.0.1:1970”时出错:111 -> 连接被拒绝
emulator: Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused
模拟器已停止在 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
你有没有设置
的使用权限
互联网
网络套接字
设置为 Manifest.XML 文件 uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE"
android:name="android.permission.INTERNET"
修复它的补丁已被上游接受。 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:
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
Make a backup of $ANDROID_SDK_ROOT/tools/lib/pc-bios/bios.bin ($ANDROID_SDK_ROOT is the Android SDK installation directory).
Copy the downloaded bios.bin to $ANDROID_SDK_ROOT/tools/lib/pc-bios/.
模拟器已停止在 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
你有没有设置
的使用权限互联网
网络套接字
设置为 Manifest.XML 文件 uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE"
android:name="android.permission.INTERNET"
修复它的补丁已被上游接受。 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:
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%5E0Make a backup of $ANDROID_SDK_ROOT/tools/lib/pc-bios/bios.bin ($ANDROID_SDK_ROOT is the Android SDK installation directory).
Copy the downloaded bios.bin to $ANDROID_SDK_ROOT/tools/lib/pc-bios/.