ubuntu: all android emulator(x86 and arm) stuck on quot;Error while connecting to socket #39;127.0.0.1:1970#39;: 111 -gt; Connection refusedquot;(ubuntu:所有android模拟器(x86和arm)都卡在“连接到套接字127.0.0.1:1970时出错:111-连接被拒绝)
问题描述
我已经尝试了所有的安卓模拟器,但他们都停留在以下步骤:
i have try all android emulator, but they are all stuck on following step:
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 =
这是我的 cli:path/to/emulator64-x86 -avd x86 -debug all
这是我的完整日志
我的问题是
如何解决这个错误?
我的系统信息:
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 17 Qiana
Release: 17
Codename: qiana
推荐答案
我只是花了几个小时试图解决这个问题.希望你找到了答案,但我会在这里发布,以防有人来找它.我不得不使用ARM cpu.我仍在寻找是否可以找到 x86 的解决方案.
I just spent hours trying to figure this out. Hopefully you found the answer but I will post this here in case anyone comes along looking for it. I had to use the ARM cpu. I am still looking to see if I can find a solution for x86.
- 启动您的 AVD 并让它在黑屏时挂起
- 打开一个终端
- 键入
telnet localhost 5554
(您的端口号可能因您的 avd 端口而异) - 输入
redir add tcp:5000:6000
- 您的 AVD 应该会在几秒钟内加载到锁定屏幕中
- Start your AVD and let it hang at the black screen
- Open a terminal
- Type
telnet localhost 5554
(your port number may differ depending on your avd port) - Type
redir add tcp:5000:6000
- Your AVD should load into the lock screen in a few seconds
http://developer.android.com/tools/devices/emulator.html
这篇关于ubuntu:所有android模拟器(x86和arm)都卡在“连接到套接字'127.0.0.1:1970'时出错:111->连接被拒绝"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:ubuntu:所有android模拟器(x86和arm)都卡在“连接到套接字'127.0.0.1:1970'时出错:111->连接被拒绝"
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- android 4中的android RadioButton问题 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01