티스토리 뷰

Android Emulator의 telnet로 접속후 명령을 실행하면 아래와 같이 실행이 안 되는 경우가 발생합니다


sms send +821012341234 hello world

KO: unknown command, try 'help'


인증이 안 되어서 발생하는 문제이며 처음 접속할 때 나오는 로그에 힌트가 있습니다


Android Console: Authentication required

Android Console: type 'auth <auth_token>' to authenticate

Android Console: you can find your <auth_token> in

'C:\Users\<사용자 ID>\.emulator_console_auth_token'

OK


C:\Users\<사용자 ID>\.emulator_console_auth_token 파일을 열면 인증 토큰이 나옵니다


그 인증 토큰을 아래와 같이 실행하면 인증이 되며 그 이후부터 다른 명령이 실행이 됩니다


auth ZQ5LF/YLEQ8k46sk

Android Console: type 'help' for a list of commands

OK


sms send +821012341234 hello world

OK



출처 : http://stackoverflow.com/questions/37442566/android-console-authentication-required/37503734#37503734

댓글

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/03   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
글 보관함