简体   繁体   English

Android Studio 3.5.2 找不到 USB 连接的设备(但通过 adb 终端找到)

[英]Android Studio 3.5.2 can't find USB connected device (but found through adb terminal)

The title pretty much says it all: I'm working on an Android Studio (3.5.2) project on my Windows 7 64-bit running laptop, I connect my Samsung J7 (2016) to the laptop through the original Samsung cable but Android Studio simply can't see the device.标题几乎说明了一切:我正在我的 Windows 7 64 位运行笔记本电脑上开发 Android Studio (3.5.2) 项目,我通过原装三星电缆将三星 J7 (2016) 连接到笔记本电脑,但 ZAEA23489CE3AA9B6406EBB28E0CDA430C Studio 根本看不到该设备。 If I try to do the same on my desktop computer (same Android Studio version but on a Windows 10 64-bit OS) everything works just fine.如果我尝试在我的台式计算机上执行相同的操作(相同的 Android Studio 版本,但在 Windows 10 64 位操作系统上)一切正常。

Here comes the funny thing: the "adb devices" command shows the device (and I'm 100% sure it's my smartphone since it's the only device connected).有趣的事情来了:“adb devices”命令显示了设备(我 100% 确定这是我的智能手机,因为它是唯一连接的设备)。 The Android Studio toolbar keeps showing "No devices" anyway. Android Studio 工具栏始终显示“无设备”。

I've spent 3 hours on this and couldn't find a solution.我在这上面花了 3 个小时,但找不到解决方案。 I already tried every suggested solution around the web (stackoverflow.com included), but I achieved nothing:我已经尝试了围绕 web (包括 stackoverflow.com)的所有建议解决方案,但我一无所获:

  • Disabling/Enabling USB Debug function in the Developer Settings of my smartphone (including revoking USB debugging authorizations)在我的智能手机的开发者设置中禁用/启用 USB 调试 function(包括撤销 USB 调试授权)
  • Running Android Studio as admin (sometimes it solves strange stuff...)以管理员身份运行 Android Studio(有时它可以解决奇怪的问题......)
  • Trying to USB connect through PdaNet+尝试通过 PdaNet+ 连接 USB
  • Android Studio built-in troubleshooting service (re-scanning for devices actually makes me see my smartphone but it's treating it as if it can't be used as a debugging device; anyway the smartphone-computer connection is just fine: I can browse my files and all. Killing and restarting the ADB server does nothing) Android Studio 内置故障排除服务(重新扫描设备实际上让我看到了我的智能手机,但它把它当作不能用作调试设备;无论如何智能手机-计算机连接很好:我可以浏览我的文件和所有文件。杀死并重新启动 ADB 服务器什么都不做)
  • Tried connecting both as PTP and MTP尝试同时连接为 PTP 和 MTP
  • Tried both the Google USB Drivers and the Windows Update drivers (those the computer gets when you first connect the device)尝试了 Google USB 驱动程序和 Windows 更新驱动程序(计算机在您第一次连接设备时获得的驱动程序)

Thanks in advance:)提前致谢:)

if you use linux as your PC OS.如果您使用 linux 作为您的 PC 操作系统。 may be try to install adb will help you..可能会尝试安装 adb 会帮助你..

apt-get install adb apt-get 安装 adb

that's work for me.这对我有用。

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

相关问题 如果我可以在 ADB 终端中看到我的 USB 连接的三星设备,但在 Mac OS 的 Android Studio 中看不到它怎么办? - What to do if I can see my USB connected Samsung device in ADB terminal but can't see it in Android Studio in Mac OS? 是否可以通过终端使用 adb 连接安卓设备? - Is it possible to USB tether an android device using adb through the terminal? Android Studio adb - 找不到USB设备 - Verizon解决方案 - Android Studio adb - USB Device Not Found - Verizon Resolution 'adb devices' 找到我的 usb 设备,但 android 工作室没有。 只显示“加载设备”,运行时也说“没有找到目标设备” - 'adb devices' find my usb device,but android studio not. only show "Loading Devices", also say when run "no target device found" 找不到设备android studio | ADB 显示设备但 Studio 不能 - Cannot find device android studio | ADB Shows Device But Studio Can't android adb“usb device not found”问题的原因? - Cause of android adb “usb device not found” problems? android studio没有看到USB连接的设备 - android studio doesn't see USB connected device Android设备没有连接USB进行调试(Android studio) - Android device is not connected to USB for debugging (Android studio) 亚行不再看到我的USB连接设备了 - ADB doesn't see my USB-connected device anymore 无法通过WiFi连接后,adb无法找到设备 - adb can't find device after failing to connect through WiFi
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM