Unable to run telnet commands on Genymotion emulator on Mac

喜欢而已 提交于 2020-01-04 02:41:07

问题


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.
$

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?


回答1:


Telnet is not supported on Genymotion.

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.

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



来源:https://stackoverflow.com/questions/28936822/unable-to-run-telnet-commands-on-genymotion-emulator-on-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!