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

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

问题描述

我正在新的Windows 10笔记本电脑上设置Android开发环境.我已经在具有其他操作系统的其他计算机上完成了很多次,但这是Windows 10的第一次.问题是,在通过USB连接设备后,Android Studio无法检测到我的设备(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监视器"窗口重新启动ADB
  • 使用adb kill-serveradb start-server从命令行重新启动ADB.
  • 退出Android Studio并重新启动.
  • 拔下设备,关闭USB调试,然后重新打开.
  • 将设备插入另一个USB端口.
  • 将设备连接设置切换为仅充电",然后返回到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天全站免登陆