Nexus 7 not visible over USB via "adb devices" from Windows 7 x64
Solution 1:
When the Nexus 7 is plugged in there is a persistent notification that indicates "CONNECT AS / Media Device (MTP)". In this state adb devices
will not show the Nexus, or undoubtedly any other device. Not exactly obvious, but if you select the second option "Camera (PTP)" the device is available for debugging (the lesson is ignore the camera, and focus on the protocol PTP).
This configuration is persistent, and I'm guessing that with a brand new device it will connect as MTP until told otherwise.
Thanks to @Ciaran Gallagher
Settings --> Storage --> Top Left Option (Computer USB Connection) tap--> choose MTP
Solution 2:
In addition to setting USB connection/storage mode to "Camera (PTP)", I also had to enable developer mode, which has been hidden since 4.2.
- Go to the Settings menu, and scroll down to 'About phone/tablet'. Tap it.
- Scroll down to the bottom again, where you see 'Build number'.
- Tap it seven (7) times. After the third tap, you'll see a playful dialog that says you're four taps away from being a developer. Keep on tapping and you've got the developer settings.
- Now under Settings there's 'Developer options'. Tap it.
- Tap 'USB debugging' to enable it.
Source: How to enable developer settings on Android 4.2
Solution 3:
To fix/install Android USB driver on Windows 7/8 32bit/64bit:
- Connect your Android-powered device to your computer's USB port.
- Right-click on Computer from your desktop or Windows Explorer, and select Manage.
- Select Devices in the left pane.
- Locate and expand Other device in the right pane.
- Right-click the device name (Nexus 7 / Nexus 5 / Nexus 4) and select Update Driver Software. This will launch the Hardware Update Wizard.
- Select Browse my computer for driver software and click Next.
- Click Browse and locate the USB driver folder. (The Google USB
Driver is located in
<sdk>\extras\google\usb_driver\
.) - Click Next to install the driver.
If it still doesn't work try changing from MTP to PTP.
Solution 4:
I discovered that you can also do Device Manager -> Update Driver Software -> Browse my computer for driver software -> Let me pick from a list of device drivers on my computer -> Android Phone -> [ADB driver version 6 near top of list... sorry, I can't remember exact name]
As soon as I did that, it connected, and I was able to sideload version 4.2 on Windows 7 64 bit.
Solution 5:
I'm using Nexus 7 (4.2) on Windows 7 x64. None of the other methods described here worked for me. The tab was already in PTP mode. Finally, I could get it working when I added the below line to 'android_winusb.inf' under <android-sdk>\extras\google\usb_driver and did an 'update driver':
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4E44&REV_9999&MI_01
To get the exact hardware ID (USB\VID_18D1&PID_4E44&REV_9999&MI_01 in my case), you can go to Computer Management -> Device Manager -> Details tab -> select Hardware Id from the drop-down.