简体   繁体   English

找不到设备android studio | ADB 显示设备但 Studio 不能

[英]Cannot find device android studio | ADB Shows Device But Studio Can't

ADB Devices successfully recognizing phone ADB Devices 成功识别手机

Device not recognized by Android Studio Android Studio 无法识别设备

SDK tools installed已安装 SDK 工具

  • Launched Android Studio in the morning早上推出Android Studio
  • Went away for an hour approx.走了一个小时左右。
  • Came back and carried on coding回来继续编码
  • Updated IDE to 3.6/3.6.1 (can't remember)将 IDE 更新为 3.6/3.6.1(记不清了)
  • Device no longer shows up for deployment.设备不再显示用于部署。

  • USB Debugging enabled. USB 调试已启用。
  • Install via USB enabled.通过启用 USB 安装。
  • Platform tools installed.已安装平台工具。
  • Device tried in FTP & PTP.设备在 FTP 和 PTP 中尝试过。
  • Clean uninstalled Android Studio via several terminal rm dir commands.通过几个终端 rm dir 命令清理卸载的 Android Studio。
  • Restarted machine & phone重启机器和手机
  • Tried installing Android Studio 3.4 & 3.5 releases.尝试安装 Android Studio 3.4 和 3.5 版本。

I have a quick fix for this problem.我有一个快速解决这个问题的方法。 Just copy everything from ~/Library/Android/sdk/platform-tools/platform-tools to ~/Library/Android/sdk/platform-tools .只需将所有内容从~/Library/Android/sdk/platform-tools/platform-tools复制到~/Library/Android/sdk/platform-tools

I think AS is buggy and the last update moved everything from the ...platform-tools folder to .../platform-tools/platform-tools .我认为 AS 有问题,上次更新将所有内容从...platform-tools文件夹移动到.../platform-tools/platform-tools

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM