【问题标题】:authentication token does not match ~/.emulator_console_auth_token身份验证令牌不匹配 ~/.emulator_console_auth_token
【发布时间】:2016-06-14 12:53:54
【问题描述】:

我正在尝试通过控制台访问安卓模拟器。

一开始我输入telnet localhost 5554,然后我看到了:

接下来我输入auth auth_token,出现以下错误:

这里有什么问题?

我在哪里可以得到这个令牌?

感谢您的帮助!

【问题讨论】:

    标签: android authentication command-prompt


    【解决方案1】:

    在 Windows 上,该文件位于您当前的用户文件夹中

    c:\Users\<current_user>\.emulator_console_auth_token
    

    您可以使用记事本打开文件并复制令牌。

    现在,你可以运行了

    auth <token>
    

    【讨论】:

      【解决方案2】:

      只需从 .emulator_console_auth_token 文件中复制令牌并运行命令

      在此处验证您的令牌

      为了检查一切是否顺利,只需运行“帮助”命令,您会在列表中看到更多可用命令。我不知道这是否是解决这个问题的最佳选择,但是这个解决方案对我有用。

      【讨论】:

        猜你喜欢
        • 2016-04-29
        • 1970-01-01
        • 1970-01-01
        • 2017-12-05
        • 1970-01-01
        • 1970-01-01
        • 2019-05-23
        • 1970-01-01
        • 2017-06-13
        相关资源
        最近更新 更多