win10系统未开启
主动开启telnet命令:
1.打开控制面板
2.点击程序和功能
3.点击打开或关闭windows功能
4.勾选telnet客户端选项
之后在命令行里就可以使用telnet命令
使用telnet localhost 5554 连接AVD
默认状态下命令没有开启需要手动解锁
、输入help:
help|h|? print a list of commands
avd control virtual device execution
auth user authentication for the emulator console
quit|exit quit control session
只有几个可用命令了。
、。
help auth
use 'auth <auth_token>' to get extended console functionality
根据提示,auth_token是存储在/home/username/.emulator_console_auth_token中。
接下来执行: auth 文件中的密码
然后再来看看help命令:
help
Android console command help:
help|h|? print a list of commands
event simulate hardware events
geo Geo-location commands
gsm GSM related commands
cdma CDMA related commands
crash crash the emulator instance
kill kill the emulator instance
network manage network settings
power power related commands
quit|exit quit control session
redir manage port redirections
sms SMS related commands
avd control virtual device execution
qemu QEMU-specific commands
sensor manage emulator sensors
finger manage emulator finger print
需要的命令又回来了。