gpt4 book ai didi

Android 4.2.2 adb 找不到设备

转载 作者:IT王子 更新时间:2023-10-28 23:28:15 27 4
gpt4 key购买 nike

随着我的 Galaxy Nexus 和 Nexus 7 更新到 4.2.2,我无法在 adb 下找到我的两个设备。

这些是我采取的步骤:

  • 更新到 4.2.2
  • 通过 SDK 管理器更新了 ADT 和 SDK
  • 检查了 ADB 版本,它是 1.0.31
  • 多次重启电脑和平板电脑和手机

当我运行 adb devices 时,它只是空白。我在 Windows 8 和 Ubuntu 12.10 上遇到了同样的问题,但在 Ubuntu 上它显示了我的设备并显示 offline

我还可以采取其他措施吗?

最佳答案

来自 adb docs

When you connect a device running Android 4.2.2 or higher to your computer, the system shows a dialog asking whether to accept an RSA key that allows debugging through this computer. This security mechanism protects user devices because it ensures that USB debugging and other adb commands cannot be executed unless you're able to unlock the device and acknowledge the dialog. This requires that you have adb version 1.0.31 (available with SDK Platform-tools r16.0.1 and higher) in order to debug on a device running Android 4.2.2 or higher

所以,拔掉、等待、重新插入电缆,然后点击确定(在您设备上出现的模式对话框中)

如果您点击取消,设备将通过 adb devices

显示为离线

关于Android 4.2.2 adb 找不到设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15033218/

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