本文介绍了Android终端-telnet缺少命令,收到此错误:KO:未知命令,请尝试“帮助”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在仿真设备上设置坐标。
I'm trying to set the coordinates on an emulated device.
XXXX-MacBook-XXXXX XXXX$ telnet localhost 5554
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Android Console: Authentication required
Android Console: type 'auth <auth_token>' to authenticate
Android Console: you can find your <auth_token> in
'/Users/XXXXX/.emulator_console_auth_token'
OK
问题是...
geo fix 77.9888 34.0000
KO: unknown command, try 'help'
我似乎没有geo命令
help
Android console command help:
help|h|? print a list of commands
auth use 'auth <auth_token>' to get extended functionality
avd control virtual device execution
quit|exit quit control session
try 'help <command>' for command-specific help
OK
实际上,它似乎我的大多数命令都丢失了。
In fact, it looks like most of my commands are missing.
有人知道为什么命令丢失了吗?
Does anyone know why the commands are missing?
推荐答案
对于像我这样的业余爱好者,diego-torres-milano的含义是:
For amateurs' like me what diego-torres-milano meant :
cat /Users/XXXXX/.emulator_console_auth_token
<copy the above contents - auth_token>
telnet localhost <portnumber> (mostly 5554)
auth auth_token
这篇关于Android终端-telnet缺少命令,收到此错误:KO:未知命令,请尝试“帮助”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!