Android Studio 在 Windows 10 上检测不到 Android 设备 [英] Android Studio does not detect Android device on Windows 10

查看:26
本文介绍了Android Studio 在 Windows 10 上检测不到 Android 设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一台新的 Windows 10 笔记本电脑上设置 Android 开发环境.我在使用其他操作系统的其他机器上多次这样做,但这是第一次使用 Windows 10.问题是 Android Studio 在我通过 USB 连接后无法检测到我的设备(LG Zone 3).请注意,我之前曾使用此设备在 Arch Linux 桌面上进行开发.

I am setting up a Android development environment on a new Windows 10 laptop. I have done this many times on other machines with other operating systems, but this is the first time with Windows 10. The problem is that Android Studio cannot detect my device (LG Zone 3) after I connect it via USB. Note that I have previously used this device for development on an Arch Linux desktop.

我已经下载了 Android Studio 并创建了几个 AVD.我可以很好地运行我的应用程序并对其进行测试.但是,选择对话框中未列出我的硬件设备.

I have downloaded Android Studio and created several AVDs. I can run my app and tests on those just fine. However, my hardware device is not listed in the selection dialog.

以下是我尝试过的一些方法:

Here are some things I have tried:

  • 检查是否安装了 USB 驱动程序.
  • 从 Android Studio 的 Android Monitor 窗口重新启动 ADB
  • 从命令行使用 adb kill-serveradb start-server 重新启动 ADB.
  • 退出 Android Studio 并重新启动它.
  • 拔下设备,关闭 USB 调试,然后重新打开.
  • 将设备插入不同的 USB 端口.
  • 将设备连接设置切换到 Charge Only,然后再切换回 MTP.
  • Check that the USB drivers are installed.
  • Restart ADB from the Android Monitor window in Android Studio
  • Restart ADB from the command line with adb kill-server and adb start-server.
  • Quit Android Studio and restart it.
  • Unplug the device, turn off USB debugging, and turn it back on.
  • Plug device into a different USB port.
  • Switch device connection settings to Charge Only and then back to MTP.

我还可以遵循哪些其他故障排除步骤来使我的设备正常工作?

What other trouble-shooting steps can I follow to get my device to work?

推荐答案

根据您的设备,您可能需要安装手机特定的驱动程序.此外,有时如果您转到手机开发者设置并取消选中/禁用 USB 调试并再次启用它,会有所帮助.

Depending of your device you might be required to install the phone specific drivers. Also, sometimes it helps if you go to phone Developer settings and uncheck/disable USB debugging and enable it again.

这篇关于Android Studio 在 Windows 10 上检测不到 Android 设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆