Cannot see Nexus 6P for debugging

2019-01-23 05:15发布

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.).

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

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.

5条回答
相关推荐>>
2楼-- · 2019-01-23 05:50

This is one of the oddest hacks I have ever seen, but it works. On a Nexus 6P, you open Settings, System, About phone, and scroll to Build number at the bottom.

Click Build number 7 times.

That is how you enable Developer options, and thus USB debugging on a Nexus 6P.

No special magic needed after that. It just shows up as an available device (in Visual Studio anyway):

enter image description here

查看更多
老娘就宠你
3楼-- · 2019-01-23 06:04

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.

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.

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.

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

查看更多
成全新的幸福
4楼-- · 2019-01-23 06:04

I spent a lot of time with this problem. You need to manually download the driver here (http://developer.android.com/sdk/win-usb.html)

Then go to "Devices and Printers", right-click on "MTP", and choose properties.

Click "ADB interface", then click "Properties"

Go to "Driver" tab and update driver with the file you just downloaded. (Make sure you unzip them first)

查看更多
Bombasti
5楼-- · 2019-01-23 06:10

I would try to do the following:
1. switch between USB configuration modes: MTP and PTP.
Enter Developer options and find there the 'Select USB Configuration' option.
2. replace the USB cable - sometimes it does the trick.
3. Try to connect your device to a different computer/OS (try it on a Linux platform)
4. Check in Device Manager if there are any driver issues (a yellow bang)
5. reinstall drivers.

查看更多
【Aperson】
6楼-- · 2019-01-23 06:15

I think the problem may be two questions. Firstly , you should enable USB Debugging mode in your device. just reference http://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm. Then if it is not ok , you should download Nexus 6P's driver and install it. reference http://www.technobuzz.net/install-google-nexus-6p-usb-drivers/. Good luck.

查看更多
登录 后发表回答