本文介绍了ubuntu:所有android仿真器(x86和arm)卡在“连接到套接字'127.0.0.1:1970'时出错:111->连接被拒绝"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试了所有的android模拟器,但是都陷入了以下步骤:

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->连接被拒绝"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 01:00