2017-04-16 84 views
0

我試圖玩弄通過telnet連接到Android模擬器,下面這個頁面的指導:https://developer.android.com/studio/run/emulator-console.htmlAndroid Studio遠程登錄控制檯缺少「網絡」和「窗口」命令?

我成功地連接到本地主機:5554,在/Users/me/.emulator_console_auth_token發現令牌認證,並得到了名單可用的命令:

$ 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/me/.emulator_console_auth_token' 
OK 
auth 123456789XYZ 
Android Console: type 'help' for a list of commands 
OK 
help 
Android console command help: 

    help|h|?   print a list of commands 
    crash   crash the emulator instance 
    kill    kill the emulator instance 
    quit|exit  quit control session 
    redir   manage port redirections 
    power   power related commands 
    event   simulate hardware events 
    avd    control virtual device execution 
    finger   manage emulator fingerprint 
    geo    Geo-location commands 
    sms    SMS related commands 
    cdma    CDMA related commands 
    gsm    GSM related commands 
    rotate   rotate the screen by 90 degrees 

然而,我注意到,在該頁面中提到networkwindowvm命令不在此列表中。我如何才能運行這些命令?

非常感謝您提前!

馬特

回答

0

此選項可同時運行在Android Studio中2.3.1

模擬器