关于Android studio telnet AVD问题以及命令

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

需要的命令又回来了。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值