ubuntu:所有android模拟器(x86和arm)都卡在“连接到套接字'127.0.0.1:1970'时出错:111->连接被拒绝" [英] ubuntu: all android emulator(x86 and arm) stuck on "Error while connecting to socket '127.0.0.1:1970': 111 -> Connection refused"

查看:49
本文介绍了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.

  1. 启动您的 AVD 并让它在黑屏时挂起
  2. 打开一个终端
  3. 键入 telnet localhost 5554(您的端口号可能因您的 avd 端口而异)
  4. 输入 redir add tcp:5000:6000
  5. 您的 AVD 应该会在几秒钟内加载到锁定屏幕中
  1. Start your AVD and let it hang at the black screen
  2. Open a terminal
  3. Type telnet localhost 5554 (your port number may differ depending on your avd port)
  4. Type redir add tcp:5000:6000
  5. 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->连接被拒绝"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆