身份验证令牌与 ~/.emulator_console_auth_token 不匹配
authentication token does not match ~/.emulator_console_auth_token
我正在尝试通过控制台访问 android 模拟器。
最初我输入telnet localhost 5554
,然后我看到:
接下来我输入了auth auth_token
,我得到了以下错误:
这里有什么问题?
我在哪里可以获得这个令牌?
感谢您的帮助!
只需从文件中复制令牌。emulator_console_auth_token 和 运行 命令
auth your-token-here
为了检查是否一切顺利 运行 "help" 命令,您会在列表中看到更多可用的命令。我不知道这是否是解决这个问题的最佳选择,但是这个解决方案对我有用。
在 Windows,文件位于您当前的用户文件夹中
c:\Users\<current_user>\.emulator_console_auth_token
您可以用记事本打开文件,复制token。
现在,您可以运行
auth <token>
我正在尝试通过控制台访问 android 模拟器。
最初我输入telnet localhost 5554
,然后我看到:
接下来我输入了auth auth_token
,我得到了以下错误:
这里有什么问题?
我在哪里可以获得这个令牌?
感谢您的帮助!
只需从文件中复制令牌。emulator_console_auth_token 和 运行 命令
auth your-token-here
为了检查是否一切顺利 运行 "help" 命令,您会在列表中看到更多可用的命令。我不知道这是否是解决这个问题的最佳选择,但是这个解决方案对我有用。
在 Windows,文件位于您当前的用户文件夹中
c:\Users\<current_user>\.emulator_console_auth_token
您可以用记事本打开文件,复制token。
现在,您可以运行
auth <token>