无法看到 Nexus 6P 进行调试 [英] Cannot see Nexus 6P for debugging

查看:26
本文介绍了无法看到 Nexus 6P 进行调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 Windows 10、Dell XPS 13 和 Android Studio v1.4.1.我安装了 SDK Tools 24.4.1 以及 Google USB Driver 11.#在手机上,我启用了 USB 调试,可以在文件资源管理器中看到设备(即文档、图片等).

I'm using Windows 10, a Dell XPS 13, and v1.4.1 of Android Studio. I have SDK Tools 24.4.1 installed as well as Google USB Driver 11. # On the phone I have USB debugging enabled and can see the device in File Explorer (i.e. documents, pictures, etc.).

但该设备从未使用 adb devices 显示,也从未在 Android Studio 中显示.

But the device never shows up using adb devices, nor in Android Studio.

我以前在调试 Android 设备时从未遇到过这么大的麻烦,但我不知道应该怪是 Marshmallow 还是 Nexus 6P.更重要的是,我现在不知道该怎么做才能调试它.

I've never had this much trouble getting an Android device debugging before, but I don't know if it's Marshmallow or the Nexus 6P that's to blame. More importantly, I've no idea what to do at this point to get it debugging.

推荐答案

我遇到了这个确切的问题并通过下载解决了它 (http://developer.android.com/sdk/win-usb.html) 并手动安装 Google USB 驱动程序.

I had this exact problem and solved it by downloading (http://developer.android.com/sdk/win-usb.html) and installing the Google USB Driver by hand.

在我这样做之前,我尝试从 Android SDK 管理器安装它,但没有成功.安装包没有错误,但我的设备管理器显示 ADB 接口设备出现故障.

Before I did that, I tried installing it from the Android SDK Manager which did not work. The package installed without error but my Device Manager showed a failure for an ADB Interface device.

从上面的链接下载/解压 zip 文件后,我在设备管理器中更新了失败的 ADB 接口驱动程序,现在我可以在 Android Studio 和带有 adb 的命令行中查看和使用我的手机.

After downloading/extracting the zip file from the above link, I updated the failed ADB Interface driver in Device Manager and now I can see and use my phone in both Android Studio and from the command line with adb.

我假设您还按照此处的详细说明在手机上启用了 USB 调试:http://developer.android.com/training/basics/firstapp/running-app.html#RealDevice

I'm assuming that you have also enabled USB Debugging on your phone as detailed here: http://developer.android.com/training/basics/firstapp/running-app.html#RealDevice

这篇关于无法看到 Nexus 6P 进行调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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