gpt4 book ai didi

android - Nexus 5 (Kitkat 4.4) 不会授权我的 Windows 8 计算机

转载 作者:可可西里 更新时间:2023-11-01 18:46:47 26 4
gpt4 key购买 nike

我正在尝试使用 Eclipse 和我的 Nexus 5 为 Android 开发一些应用程序。

但是,在第一次从 Eclipse 加载 MyFirstApp 后,我似乎无法获得正确的授权。

当我从命令提示符运行 adb devices 时,我最终得到了

0350b965215d9854               unauthorized

0350b965215d9854               offline

即使在重新启动一切之后,我也只是偶尔在手机上看到授权弹出窗口。即使我选中“始终允许从这台计算机”复选框(下图),我的计算机仍未授权。我从来没有记得像复选框建议的那样授权我的计算机。

几次,在多次杀掉服务器并重启服务器后,adb会识别出设备,因为在输入“adb devices”后,我得到了

0350b965215d9854            device

但是如果我尝试在 eclipse 中运行该应用程序,我将收到以下错误消息。

[2013-11-09 18:10:16 - MyFirstApp] Failed to install MyFirstApp.apk on device '0350b965215d9854': timeout
[2013-11-09 18:10:16 - MyFirstApp] Launch canceled!

我也无法从 adb 运行 shell 或其他命令。

我已经确认我使用的是最新的 USB 驱动程序、android sdk 和 eclipse 版本,并尝试了以下修复:

在 Nexus 5 上:

  • 以安全模式启动

    切换/取消切换 USB 调试

    撤销USB调试授权并重新授权

    重启手机

    一次性允许权限

在 Windows 8 上:

  • 重启电脑

    重新启动 Eclipse

    从 cmd 中终止/启动 adb

    从任务管理器中杀死 adb

    重新安装 Eclipse

    重新安装谷歌的 USB 驱动程序

    按照 thisquestion 在谷歌的驱动程序中安装 nexus 5 行

    重新安装 Android SDK

    更改 USB 端口

我看过关于 Nexus 4 的非常相似的帖子和 Nexus 7 ,但在尝试了这些解决方案中包含的所有内容之后,我仍然一无所获。

最佳答案

Here's my solution1. I re-download the latest ADT bundle2. uninstall the old driver in "My Computer" -> "Device Manager" (delete the old driver also)3. Right click on "Nexus 5" and update the driver using the one under "[New ADT Path]/sdk/extra/google/usb_driver"4. Turn on debug mode (click on KRT16M multi-times)5. Deploy my first app . And a popup on device appears. Click "Yes" to accept the key.Good luck!

关于android - Nexus 5 (Kitkat 4.4) 不会授权我的 Windows 8 计算机,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19886456/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com