I'm trying to set up my Nexus 7 (2013) for debugging, but I am getting stuck at the step where you install the USB driver. Here's what I've tried so far:
Steps taken:
Turned on debugging mode on Nexus 7 (2013)
Connected device to PC
Downloaded Google USB Driver at http://developer.android.com/sdk/win-usb.html (and unpacked it)
Opened Computer Management and tried to update drivers on Nexus 7 device
Directed the driver update wizard to the unpacked usb_driver folder with Include Subfolders checked (not the zip file nor the amd64 and i386 folders inside), but I get the message: "Windows could not find driver software for your device."
Installed Google USB Driver with Android SDK Manager
Used update driver wizard with path to usb_driver folder from SDK manager, same result.
Tried using "Let me pick from a list of device drivers" option on update driver wizard.
Picked "Android USB Devices", then clicked "Have Disk" button
Pointed to android_winusb.inf inside usb_driver folder, got message: "The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows for x64-based systems."
I'm pretty much at my wit's end (I usually try to find answers myself or from other posts online, but this one's got me stumped pretty hard.) Can anyone help?
Don´t use USB3.0 ports ... try it on a usb 2.0 port
Also try to change transfer mode, like suggested here:
https://android.stackexchange.com/a/49662
cracked it after 2 hours...
download this usb driver:
http://dlcdnet.asus.com/pub/ASUS/EeePAD/nexus7/usb_driver_r06_windows.zip
2.go to the device manager , right click the nexus device and choose properties,
choose "hardware" and then choose update your driver , choose manualy and pick the folder
you opend the zip file to and press apply.
3.open your setting in nexus . go to : "about the device" , at to the bottom of the page and press it strong text7 times .
4.open the developers menu and enable debug with usb.
5.finally press storage from the setting menu and click the menu that apears at the top left corner.
press the connect usb to the computer, choose the second option (PTP).
one more thing: if that doesn't work restart your computer
that should do the trick , they couldn't make it more simple than that...
You can do this go to Settings > Storage, clicking on the setting menu icon in the top right hand corner and selecting "USB computer connection". I then changed the storage mode to "Camera (PTP)". Done try re installing the driver from device manager.
The universal adb driver installer worked for me. I went from an HTC to a Samsung to a LG Nexus. The drivers are all over the place for me.
http://adbdriver.com/
I also got this problem and found quite simple solution.
I have Samsung adb driver installed on my system. I tried "Update driver" -> "Let me pick" -> "Already installed drivers" -> Samsung adb driver. That worked well.
Depending on the device, sometimes you are getting "The folder you specified doesn't contain a compatible software" error because the first interface isn't actually the ADB interface.
Try installing it as a generic "USB composite device" instead (from the 'pick from a list' driver install option); once the standard composite driver installs it will allow Windows to communicate with the device and detect the associated ADB driver interface and install it properly.
SkipSoft.net has some great toolkits. I ran into a similar problem with my Galaxy Nexus.... Ran the corresponding toolkit, which configured my system and downloaded the correct drivers. I then went into Windows Hardware manager after connecting the phone... Windows reported the exclamation that it couldn't find the device driver, so I ran update, and gave it the drivers directory the toolkit had created... and everything started working great. Hope this helps :)
Asus Nexus 7 on my Windows 7 64 bits computer for development purposes :
I tried to install the driver for the nexus 7 manually like explained in the official tutorial of Asus
Unfortunately, I had an error, Windows couldn't recognize the driver.
I tried to change the USB connection mode to PTP or MTP by going in the storage menu and clicking on the top right menu . In both cases, windows recognize the devices but it still didn't work in debugging mode.
The only way it worked for me is by installing : adb universal installer . I scanned it before clicking on the executable, it seems to be fine.
I am attempting to install an Android app on my brand new Nexus 10. I have a .apk file. I have downloaded the Android SDK, installed "Android SDK Tools", "Android SDK Platform-tools", and Google USB Driver. I have checked the setting on my Nexus 10 for "Unknown Sources".
When I run "adb devices" from the command terminal, it doesn't list any devices. I attempted to follow this recommendation, because it was identical to a suggestion I had previously found here on Stack Overflow. After following those steps, "adb devices" still returns an empty list and to make it worse, when I connect my Nexus 10 to my PC, Windows doesn't show any folders within the device.
I have undone the steps in that link, along with everything else I have done so far, as well as uninstalling my Nexus 10 from Device Manager and reinstalling it, but I am still not seeing any folders in the device.
Is there anything I am missing to get my device to show up in ADB devices?
What can I do to get Windows to see the folders within the device?
Windows 8 wouldn't recognize my Nexus 10 device. Fixed by Setting the transfer mode to Camera (PTP) through the settings dialogue on the device.
Settings > Storage > Menu > USB Computer connection to "Camera (PTP)"
For Windows 8 users:
After trying every solution given here, with no success, I found this:
Go to Device Manager
Browse my computer for drivers -> Let me pick from a list of device drivers on my computer
Choose Android Device and then Android ADB Interface.
Now I have my devices listed at adb devices.
This situation seems to arise with some ADB drivers. I have encountered the same thing with a couple of Google devices and installing the Universal ADB windows driver has fixed it for me every time.
Use another cable.
Just found out that one of my regular charging cables had Vcc, Gnd pairs, but no Data+, Data-.
https://en.wikipedia.org/wiki/USB#Pinouts
Make sure to Enable USB debugging in Settings -> Developer options
Also, run "adb devices" after getting into the platform tools folder in the Android SDK (unless you have that folder on your system path already), otherwise the command won't be found.
The device may not be visible for debugging if it is in MTP mode. Some devices only work in PTP mode (or even in "charging only" mode).
This can be changed in Settings > Developer Options > Networking > Default USB configuration > PTP.
Also, you'll get a notification on your android device asking you for confirmation about USB configuration setting change and to allow it.
Note: You can turn on developer options by following the link below:
enable developer options
I have found a solution (for Windows 7):
Connect your Nexus 10 to PC
Go to Windows Device Manager
RClick on ADB Interface -> properties
Details -> Hardware Ids.
You will see two records like these:
USB\VID_18D1&PID_4EE2
USB\VID_18D1&PID_4EE2&MI_01
5 Open the android_winusb.inf file (I have it in "C:\Users\<username>\AppData\Local\Android\android-sdk\extras\google\usb_driver" directory)
6 Create such records in [Google.NTx86] and [Google.NTamd64] sections using Hardware Ids from properties of ADB interface:
;Google Nexus 10
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_4EE2
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_4EE2&MI_01
7 Save the file, and update driver for ADB Interface with showing the path to "C:\Users\\AppData\Local\Android\android-sdk\extras\google\usb_driver" directory
Sometimes ADB loses connection to the device, and needs to be reset. If you have everything else working (ie USB driver installed, Developer settings enabled on the device), and still can't see your device, you need to reset the ADB process.
This is available in the DDMS Perspective (from within Eclipse), Devices tab (the triangle on the far right includes a menu item to perform the reset).
Otherwise from the command line, you can reset it with the following 2 commands:
adb kill-server
then
adb start-server
Enable Developer options in your device. To enable the developer mode, setting->About phone, tap Build number option 8 times continuously
Go to Settings-> Developer options and Turn on USB debugging
From the above steps it didn't work try this step, Go to Settings->Security and turn on Allow Unknown Resources
You have to download the drivers from the SDK manager (extras → Google USB Driver)
Then you have to install the USB driver in Windows (it works for me in Windows 8.1):
(Copy and paste from http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver:)
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 (such as Nexus S) 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.
After downloading the Google drivers via Android SDK Manager (available via Eclipse, Intellij or Android Studio), I had to update the driver in Computer Management > Device Manager > Other Devices > ADB - right clicking and clicking on update driver and browsing for updated driver finally did the trick.
BTW, a total nightmare for me as well. I continue to be bewildered that setting up a dev environment should be the most difficult task imaginable, with each new inexplicable failure leading to another one. Jeesh! Good luck.
On my Windows 8.1 64bit (Nexus 5 did not show up), only manually installing the USB driver fixed it:
http://developer.android.com/sdk/win-usb.html
The "Google USB Driver" in "Android SDK Manager" was installed already.
I still get this once in a while and it usually works if I unplug it and plug it back in a different port. I'm on Linux but had the same thing happen on Windows before.
Installing Samsung Kies and using their tool to reinstall device drivers, is what finally worked for me with my Galaxy S3 and Tab S 8.4
Normally SDB will download the driver in the **android-sdk-windows\extras\google\usb_driver** path
Here are the steps that worked for me:
Enable USB debugging.
Do to device manager, right click on ADB device and click update driver software.
Select "Browse my computer for Driver Software"
Select "Let me pick from list of Device drivers on my computer"
Click on "Have Disk" option.
Select the driver path **android-sdk-windows\extras\google\usb_driver** (path of sdk)
7.Select 1st driver out of list of drivers shown.
And hopefully, it will work.
Edit: I recommend you DO NOT run ADB under VirtualBox if you are using a Windows Host. Somehow I got VirtualBox to lock the device drivers on the host, eventually making it so that the ADB wouldn't work on the client nor the host for any device I plugged in. To fix, I removed VirtualBox extensions on the host and ran http://www.nirsoft.net/utils/usb_devices_view.html to delete the incorrect drivers. I could not get the correct drivers to load while VirtualBox extensions were installed, and this problem was a complete bastard to diagnose and fix.
Edit 2: Also the following is probably out of date, now that Google have released an integrated ADB extension for Chrome.
What an installation nightmare... Here are the steps I needed to get my Nexus 10 recognised on an XP virtual machine running under VirtualBox:
If you get asked to install Nexus 10 drivers, make sure to untick "don't ask again" (you WANT to be asked again!).
Plug in the Nexus 10 USB connection
Turn on debugging in the Nexus 10 settings Developer menu (tap "About Tablet" 7 times to get that menu).
In your virtual machine settings (host), add the samsung Nexus 10 device to the USB Device Filters (important - selecting it from the devices menu didn't seem to work).
In guest install java jre (if you don't have java installed). In Control Panel, change Java settings so that java doesn't run in the browser (to help prevent security issues).
In guest get the adk zip file and put it somewhere permanent. I needed to delete the .android config directory from the user directory because I moved the directory.
Run the SDK Manager.exe - if it doesn't work, try running sdk\tools\android.bat which seems to give better error reporting.
From SDK Manager install the Google USB driver package.
Unplug the Nexus 10 and plug it in again, and install the Google USB driver package.
Restart the guest.
running c:>[...]\sdk\platformtools> adb devices finally shows me the device...
For the Blu Studio 5.5s ADB drivers, you have to go through this hoop. I am certain it is the same with all Blu phones or maybe for all non-Google mfg phones, I am not sure. First of all if you connect the Blu device with USB cable and USB Debuggin off, you will see that Windows 7 loads a generic driver for you to copy on/off files to the phone and SD storage. This will appear when the USB cable is first plugged in and appears as a device icon under Control Panel, Device Manager, Portable Devices, BLU STUDIO 5.5 S (or the device you are working with). Do not bother getting the hardware ID yet - just observe that this happens (which indicates you are good so far and don't have a bad cable or something).
Go to the phone and switch on USB Debugging in the Developer section of your phone. Notice that an additional item appears as an undefined device now in the device manager list, it will have the yellow exclamation mark and it may have the same name of the phone listed as you saw under Portable Devices. Ignore this item for the moment. Now, without doing anything to the phone (it should be already in USB debug mode) go back to the Portable Devices in Device Manager and right-click the BLU STUDIO 5.5 S or whatever phone you are working with that is listed there without the exclamation mark (listed under Portable Devices). Right click on the icon under Portable Devices, in this example the name that appears is BLU STUDIO 5.5 S. On that icon select Properties, Details, and under the pull down, select Hardware IDs and copy down what you see.
For BLU STUDIO 5.5 S I get:
USB\VID_0BB4&PID_0C02&REV_0216&MI_00
USB\VID_0BB4&PID_0C02&MI_00
(Note if you do this out of turn, the HW ID will be different with the phone USB debugging turned off. You want to copy the value that it changes to when the USB debugging is ON)
Now do as the instructions say above, of course customizing the lines you add the the INF file with those relating to your own phone, not the Nexus 10. Here is what to customize; when you downloaded the SDK you should have a file structure expanded from the ZIP such as this:
\adt-bundle-windows-x86_64-20140321\sdk\extras\google\usb_driver
Find the file named: android_winusb.inf in the usb_driver folder
Make a copy of it and name it anything, such as myname.inf
Edit the myname.inf and add the lines as instructed above only modified for your particular phone. For example, for the BLU STUDIO 5.5 S, I added the following 2 lines as instructed in the 2 locations as instructed.
;BLU STUDIO 5.5 S
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C02&REV_0216&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C02&MI_00
Note that you add these lines to both the 32 and 64 bit sections, matching how the example in the tutorial reads.
Now go back up to the unknown device that appeared in Device Manager when you switched on device USB debugging and right click on this item (has yellow exclamation mark), right click on it and then select Update Driver Software, and then Browse My Computer, Let Me Pick, click on the Have Disk button and browse to find the myname.inf. Continue to agree to all the prompts warning you it might not be the right driver. As the final step, Windows should have identified the device as Android ADB Interface and once that is done, you should be able to go back, open your CMD window and run the command "adb devices" as instructed in this tutorial and now you should see that the phone is now discovered and communicating.
Now you can go have fun with the adb command.
At first Thanks #rmsyk's post.
For my issue and after long time suffering with Meizu C9 Pro witch require just android ADB drivers (no special drivers) referring to manufacturer and it solved in my Windows 7 PC by the bellow steps.
Make Sure to
Install latest version of ADB & Fastboot with the needed drivers.
Enable Developer options & USB Debugging.
Enable Media File Transfer (MTP Mode).
Manually replace C:\Users\USERNAME\.android with the folder included here ,Then kill process 'adb.exe' if found from Windows Task Manager and use adb devices and finally my device listed successfully and just confirm the PC as trusted.
Notes:
Android Studio was uninstalled in earlier time and also i tried to reinstall but was not a solution at all.
Tried adb kill-server & adb start-server but was not a solution too.
As well as the usual settings (enable USB debugging) I also had to select Enable OEM unlock in the Developer options.
This supposedly makes the device less secure, but it's your device and you know what you want to do.
Once checked the device behaved as expected and appears in the adb devices list.
You can always reverse all these settings once you're finished.
Confirm you have the correct platform SDK tools
For Windows 10, had to manually download the latest platform SDK tools from Android as the version supplied through Visual Studio 2017 EMDK for Xamarin was not sufficient. Everything else except adb.exe devices worked.
https://developer.android.com/studio/releases/platform-tools
After the platform tools were manually downloaded, device showed up regardless of USB configuration (charging, MTP, etc.)
Installing an emulator device at this stage is also helpful to see whether the problem is with adb or your physical device.
List of devices attached
12345D1234 device
emulator-5554 device
There could be two reasons why adb devices command is not working for you. Either your phones USB drivers are not installed properly or you have not enabled USB debugging mode.
I created a tool that makes installing USB drivers a one click thing.
Just connect your phone in USB debugging mode to PC.
Run my tool
It will detect and install drivers specific to your phone and also install the latest ADB & Fastboot binaries with it.
The tool is available at my GitHub Repo
It's so easy, just turn off your Android device, and then hold down both "Volume Down" key and "Power" at the same time. Wait a few seconds till it start in recovery mode, done.
Now type adb devices, and you'll see your device.
I had the same problem with my Windows 8. The Android/SDK USB driver was installed correctly, but I forgot to install the USB driver from my phone. After installing the phone USB driver ADB works fine.
I hope this will help.
Turn on debugging in the Nexus settings Developer menu (tap "About Tablet" 7 times to get that menu).
Freaking Google tricks!
Have you had an android update recently? I updated to Lollipop and all the sudden I had no adb devices. Boo! I spent awhile trying a few things to no avail. Then I went into my developer options and lo and behold, "USB debugging" had been turned off. Silly Google. After turning it back on, it immediately showed up and I'm back in business!
GoTo DeviceManager, then right click on the android device and click uninstall driver.
Unplug and plug the device back...then a pop will come on your device while your pc installs the required drivers. Click "allow" on the popup.
You can see your device when you type "adb devices" in command prompt.
For Windows, just end all the processes related to Blue stacks or any such emulator if you are using.
Worked for me.
There's obviously a ton of different problems that could be causing this (and a ton of different solutions to go along with those problems). So think about all the solutions!
If you've gotten this phone and computer pair to work together before, but they aren't working any more, it might be a specific program on your computer rather than a problem on your phone. Some programs install/use their own adb, and only one of these can connect to your phone at a time. I think this makes a race condition, so sometimes it'll connect fine.
Some programs that run adb:
HTC Sync Manager - uninstall this.
chrome://inspect - lets you view localhost on your phone. Just close the window when you're done with it.
To have ADB in MTP mode
If you don't find any ADB device (nothing with exclamation mark) in the device manager (with all developers settings on phone checked), do this:
In Device Manager :
UpdateDriver->Manuel Install->Search on my computer->Select from installed driver list -> then select the one with the word usb in it (not MTP).
Edit: after that, you'll then have 2 or 3 peripheral, one for USB and one for ADB, install adb driver using usual method (see first answers)
For my Nexus 6P downloading drivers from Google helped resolved the issue. Here is the URL with documentation. And here you can download the driver itself.
P.S. I saw some people advice to download some drivers from random places on internet. While this might help it's too dangerous in my mind to download unknown drivers from unofficial places. So the one from Google worked well for me :)
Problem:
Asus Nexus 7 not recognized by adb when correctly installed and connected
Setup:
Asus Nexus 7 tablet
Windows 7 64 bit OS
Steps taken:
Installed 64 bit Java JDK (http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)
Installed Android SDK (http://developer.android.com/sdk/index.html)
Installed Google USB driver (http://developer.android.com/tools/extras/oem-usb.html)
Set tablet to USB debugging mode
In the Windows Device Manager, the Nexus is recognized as an Android Device via Android Composite ADB Interface. The device status indicates it is connected and working properly, running driver version 7.0.0.1 (8/27/12 update) from Google.
However, when I run adb devices at the command prompt (in the sdk/platform-tools directory), the Nexus does not come up as an attached device - the list is empty.
Does anyone have any insight on what the problem might be? I have tried uninstalling and reinstalling all drivers, restarting the computer each time. I have tried a variety of usb ports and cables, as well as switching between MTP and PTP connections with no success.
Hey I found a solution to this via mkh at
https://groups.google.com/forum/?fromgroups=#!topic/android-developers/0-RzE0v-G3k
Try this (as quoted from the above source)
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. Not exactly obvious why, but I you select the
second option "Camera (PTP)" the device is available for debugging.
This choice is persistent, and I'm guessing that with a band new
device it will connect as MTP until told otherwise
An important note about Nexus 7: There is no option for USB debugging readily available in the device Settings for 4.2.
http://forum.xda-developers.com/showthread.php?t=1989777
"Open Settings, then go to phone details (where u can see kernel, Android-version etc) then just tap your Build number 'JOP40C' 7 times!"
This sounds ludicrous, but after I did this, the developer options unlocked and I was able to see my nexus 7 in Eclipse (mac, Mountain Lion) for debugging.
In my case when I got an empty list using "adb devices" I found that the device manager showed the Nexus 7 tablet under 'other devices' with that dreaded yellow exclamation point indicating that the driver was not installed correctly. Why Windows recognized part of the tablet file system, I don't know. In any case I manually updated the driver to the google usb driver in android-sdks\extras\google.
Then adb gave me the following:
C:\Users\Brian\android-sdks\platform-tools>adb devices
List of devices attached
015d25785b601611 device
instead of a blank. I hope this doesn't mess anything else up but I can now talk to the device.
Had the same issue, Windows 7 32-bit; visited the site that Graham linked in his answer but wasn't happy running PTP (though it did work). Following the steps on another post belonging to the same thread sorted it (I can now connect as MTP); again, a direct quote from https://groups.google.com/forum/?fromgroups=#!topic/android-developers/0-RzE0v-G3k (thanks sfoucher!):
uninstall the driver in the device manager with option "delete the driver software for this device"
reconnect the Nexus tablet
let windows install a default driver which will be inadequate
uninstall again the device in the device manager with the option "delete the driver software for this device"
let windows try to find the driver, this process will fail
go back to the device manager and right click the failed device and update driver
choose the driver location in the android sdk directory (android/extra/google/usb_driver)
I should add that after step 5 I had Nexus 7 listed under Portable devices looking OK but had another Nexus 7 entry under Other Devices to which I applied the driver. My Nexus 7 now appears OK in ADB and Eclipse. In device manager I have Nexus 7 under Portable Devices and Android Composite ADB Interface under Android Device.
I too had the same issue on windows 7 64 bit.
Following thing solved my problem.
Connect the Nexus 7 and tap on Settings-About Tablet-Build version 7 times.!
This will install basic driver for windows
Now, tap on connected as media device(MTP) icon, but you will need to change it as Camera device then
Go to device manager on windows, select Nexus 7 and then update the drivers using the driver avaliable on this link http://developer.android.com/sdk/win-usb.html - This will install a driver ( You can use it with this one)
Now tap on Connected as Camera device and change it to media device - This will install one more driver and you are ready to go.!
i was having the same problem and my solution was to download the device driver from Asus. Below is the link.
http://support.asus.com/Download.aspx?SLanguage=en&m=Nexus+7&p=28&s=2
That's how I solved this issue with a different device.
Download the drivers, unzip in a folder https://developer.android.com/sdk/win-usb.html#top
With your tablet plugged, go to System -> Device admin -> Android Device -> Properties -> Details -> Hardware ID
You'll find something like USB/VID_XXXX&PID_YYYY, we will need those XXXX and YYYY later.
Go to the folder you put your drivers and edit the file android_winusb.inf manually.
Add this:
;MY PHONE
%SingleBootLoaderInterface% = USB_Install, USB\VID_XXXX&PID_YYYY
%CompositeAdbInterface% = USB_Install, USB\VID_XXXX&PID_YYYY&MI_01
Save the file
Go back to device manager and try to update the driver with this one. (Driver -> Update driver -> Search in my computer -> Choose from a list -> Use disk).
That worked for me on a Quechua Phone.
What worked for me is downloading the USB driver from the ASUS website:
http://support.asus.com/Download.aspx?SLanguage=en&m=Nexus+7&p=28&s=2
(you have to select the OS, which sometimes doesn't work, e.g. on the link Google returns when searching for "nexus 7 driver"). In that case, click on "Drivers and Download" and search for "Nexus 7". That gets me a page with a working OS selection.
I am using Windows 8 and the only thing that worked for me was the Nexus Root Toolkit 1.6.3 where I done the Full driver configuration Guide ... but I didn't follow the instructions there I went to step 2 and only installed the Signed drivers.
http://forum.xda-developers.com/showthread.php?t=1766475
I had the same problem. For me the newer version of adb is required to connect to the Nexus 7 i.e. to have the Nexus 7 ask me to "Allow USB debugging?"
In short:
Android Debug Bridge version 1.0.31 - Works
Android Debug Bridge version 1.0.29 - Does not work
Download the latest android usb drivers from
http://developer.android.com/sdk/win-usb.html#top
And then manually install these driver using Device Manager. Hope it helps!
I had faced two issues:
Nexus 7 not visible to eclipse/adb when connected over usb on windows 7 64-bit using latest Jelly Bean sdk
It was not showing in the 'My Computer' >> 'Portable Devices' list.
Ultimately, I found that it is an issue with the driver. Steps to resolve the issue - Open Device Manager, Uninstall the current driver (along with delete option set to yes), disconnect the device, reconnect it again, let windows install the default driver it wants, and then installed the google sdk driver again. It worked this time.
Above tells me that there is some issue with default driver and therefore, you have to delete it and re-install it. Now, it is visible in eclipse/adb and also showing in 'My Computer' also.
./hemant.virmani
Install Google usb driver from SDK Manager.
Later go to Device Manager, under "Other Devices" you'll see "Nexus" with the yellow exclamation mark. Right Click>Update Drivers>Let me choose>Let me pick from device drivers on my computer. Select android-sdk folder and click ok.
This solved my problem
Another option is if windows updates are turned totally off on your PC. In this case even if you download the USB driver & try update it manually as described above it will not work. The only way in this case is enabling windows updating drivers automatically. Once you enabled this, remove the non-working driver from device manager & connect you tablet to the PC via USB cable. The drivers will be automatically downloaded & installed by Windows.
This way worked on my Windows 7 PC.
After downloading the USB driver using the SDK manager, you can speed up the search for the new driver by telling Windows to look in the C:\Users\jdaehn\AppData\Local\Android\android-studio\sdk\extras\ folder (and sub-folders, in my case the drivers were in C:\Users\jdaehn\AppData\Local\Android\android-studio\sdk\extras\google\usb_driver)
From website below
http://www.asus.com/Tablets_Mobile/Nexus_7/HelpDesk_Download/
Download USB -> Nexus 7 USB driver for Windows
Unzip
Then follow the directions on this website below:
http://www.theandroidsoul.com/nexus-7-2013-drivers-installation-guide/
An Example for step #5, point it at this location:
C:\Users\Gene\Documents\Computer Setup (Installed Programs)\Asus Nexus Device Drivers\usb_driver
Download universal windows adb driver(Koush). Worked for me for windows pc's. http://www.koushikdutta.com/post/universal-adb-driver