2016-11-20 18 views
9

エミュレートされたデバイスの座標を設定しようとしています。Android端末 - このエラーを受け取るtelnetコマンドがありません:KO:unknown command、try 'help'

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 

問題は、私は地理コマンドを実際に

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 

を持っていないようです...

geo fix 77.9888 34.0000 
    KO: unknown command, try 'help' 

である私の命令のほとんどが欠けているように、それが見えます。

誰にコマンドが表示されないのか分かりませんか?

答えて

15

あなたは認証されていません。

ディエゴ・トレス・ミラノが何を意味するのか/Users/XXXXX/.emulator_console_auth_tokenの内容を取得し、OKプロンプトの後に私のような素人の

auth <auth_token> 
+0

をあなたにサンディエゴをありがとう!それはトリックでした! – James

3

を入力します。

cat /Users/XXXXX/.emulator_console_auth_token 
<copy the above contents - auth_token> 
telnet localhost <portnumber> (mostly 5554) 
auth auth_token 
関連する問題