无法运行在Mac Genymotion模拟器Telnet命令 [英] Unable to run telnet commands on Genymotion emulator on Mac

查看:311
本文介绍了无法运行在Mac Genymotion模拟器Telnet命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mac OS X上运行的优胜美地2.3.1 Genymotion。当我在Win 7上运行Genymotion,我可以telnet到仿真器和运行像地球修复命令来设置的位置。然而,在优山美地,当我telnet到仿真器和运行命令,我没有得到一个确定的反应,并没有任何反应。这是一个例子:

I am running Genymotion 2.3.1 on Mac OS X Yosemite. When I was running Genymotion on Win 7, I could telnet to the emulator and run commands like "geo fix" to set a location. However, on Yosemite, when I telnet to the emulator and run a command, I do not get an OK response, and nothing happens. This is an example:

$ adb devices
List of devices attached
192.168.56.101:5555 device

$ telnet 192.168.56.101 5555
Trying 192.168.56.101...
Connected to 192.168.56.101.
Escape character is '^]'.
geo fix 34 -118
sms send 1234 test
Connection closed by foreign host.
$

运行地理修复命令后,我查了模拟器,以及GPS定位没有改变。在发送短信命令导致telnet会话关闭。任何想法?

After running the geo fix command, I checked on the emulator, and the GPS location was not changed. The sms send command caused the telnet session to close. Any ideas?

推荐答案

远程登录不支持Genymotion。

Telnet is not supported on Genymotion.

要访问Genymotion壳牌​​,你需要打开Genyshell应用程序或命令行运行它。这将打开一个终端,你就可以做你用来做的所有命令。

To access the Genymotion Shell you need to open the Genyshell app or run it in command line. It will open a terminal where you will be able to do all the commands you used to do.

命令比的telnet不同,所以输入帮助来发现所有可以打开这个后壳访问的功能。

The commands are different than telnet, so type help to discover all the features you can access after opening this shell.

这篇关于无法运行在Mac Genymotion模拟器Telnet命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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