關於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

需要的命令又回來了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章