Can't update Nexus 5 driver on Windows 7 - android

I'm trying to connect my Nexus 5 to my Windows 7 (64 bits even though I don't think it makes any difference) in order to deploy and test some apps.
I updated the USB driver from "SDK Manager -> Extras".
I downloaded the latest usb driver from android development web page.
The solution I found seaarching on google and on stack overflow was:
- Go to Windows device manager
Select Nexus 5 under "Other devices"
(- Uninstall driver) - I tried inserting this step after the next ones failed
Update driver
Browse from computer
Select the downloaded usb driver (tried selecting the one downloaded from the web page and the one from sdk manager)
Windows still tells me it can't find the driver.
Yes, I checked the "include sub-folders" option.
Yes, the USB debugging mode is on.
Yes, I've tried this with MTP and PTP enabled and disabled (the four possible combinations).
Nothing seems to work.
Can anyone help me? Thanks in advance.

Just in case anyone is wondering I wasn't able to solve this and used another device.
Some time ago (after the release of Android 5) I followed the tutorial again and it worked just fined.

Related

Connecting a Device to Android Studio on Windows 10

Previously I have been using Windows 8.1 and Android Studio to develop Android apps and all was well. However I have now just upgraded to Windows 10 and I am having a Slight Issue.
I have a Nexus 7 that I am using to debug, and Android Studio can no longer see this device to use it. As I said all was well in Windows 8.1.
Has anyone else come across this, and have you managed to get round it? Am I missing something obvious?
Thanks again
Steve
Got exactly the same issue. Steps to fix that.
#1 Uninstall driver
#2 Unplug device and restart pc
#3 Plug device and install driver downloaded from the web not from device
A day looking for a solution of the same problem like you.
I use a Sony C4 and Android Studio on Windows 10,
my problem of my phone is not detected in Windows 10.
You can check in MyComputer> Properties> Device Manager.
The first step
I downloaded OEM USB Drivers for my phone, see the list of OEM Drivers url
create a directory "usb_driver" in <.sdk.>\extras\google\
<.sdk.> = C:\Users\Karebet\AppData\Local\Android\SDK\
I extract OEM USB Drivers then copy paste to <.sdk.>\extras\google\usb_driver\
The second step
I not download from the SDK but from Google USB Driver
I extract the Google USB Drivers then copy paste to <.sdk.>\extras\google\usb_driver\
not include directory "amd64" and "i386"
Third step
Right-click MyComputer> Properties> Device Manager
check whether there is a device not in the know in Others Device
if there: right-click> Properties> Tab "Driver"> Update Driver> Browser my computer blabla > select dir usb_driver in <.sdk.>\extras\google\,
and click OK . wait a while Driver has been detected
Hope it helps you
I tried to install a Google USB driver (sdk\extras\google\usb_driver) using Device Manager, but it said "Windows was unable to install your USB Composite Device".
I use this universal ADB driver pack (from Koush.com)
https://github.com/koush/UniversalAdbDriver

ADB not detect Sony Xperia Z3 Compact (android 5.0.2)

ADB and Android Studio not detect my device in debugging mode. I work on Windows 7 x64 Pro with latest SDK platform tools.
I tried almost all different device configuration - plug in in MTP and MSC mode, revoke authorisation, install sony and modified generic drivers and any other tips - with no success.
Anyone has any idea to solve this problem?
Try installing Sony PC Companion. This should install all of the necessary drivers for communication with adb:
http://support.sonymobile.com/global-en/tools/pc-companion/
After all, without success, the device was found in Devices Manager but with question mark, and the driver was not found.
So I need to download the driver from Sony at
http://developer.sonymobile.com/downloads/drivers/xperia-z3-compact-driver/
and manually update the driver.
So, after that, the device was recognized in Android Studio.
Thanks
After couple of days of fight with drivers I found solution and applied it with success. As I supposed and wrote in one comment above, the problem was not in adb drivers but with drivers (esspecially usb driver) installation. Shortly, to properly install drivers and run adb I need to clean cache drivers and rescan computer to rebuild driver information. I found description of similar problem here:
Windows 7: Unable to install any USB devices
Also I rewrite solution here for anyone who will have this kind of problem:
Here's the solution for the ones who might have this problem:
This worked for me in Windows 7 Ultimate 64bit!
You must have all administrator privileges!
1- Open Windows Explorer
2- Go to C:/Windows/System32/DriverStore
You will have a couple of folders and files.
You will have *.dat files and other file named: infcache.1
3- Right click every file (dont touch the folders!) and choose properties.
4- go to security tab
5- click Edit
6- choose your account and check the box: full control (see ss)
7- Click ok.
8- Repeat to every file
9- Select all the files (*.dat and infcache.1)
10- Press shift+del
11- Press OK.
12- Now, go to C:Windows/System32/Driver Store/File Repository/
13- Search for folder named usbstor.inf
14- Open it (if you have more than one, choose the most recent)
15- Copy "usbstor.inf" and "usbstor.PNF"
16- Paste those two files to C:/Windows/inf
17- Reboot your pc and voilla! :b
If Windows doesnt install them automatically go to device manager, uninstall all unknown devices and the ones with the yellow exclamation mark, then click in "check to see if there is any hardware changes"
Now, Windows will install all your hardware successfully
After making all of this steps computer found automatically Sony Xperia Z3 Compact device, installed all drivers and adb show my device on the list. Finally it works well right now.
I hope it help if somoene will have simmilar problem in the future.

Android Studio wont recognize Nexus 7 as device

I am having trouble running an app I am developing in Android Studio on my Nexus 7. I have successfully gotten this to work before using the same tablet and computer (running Windows 8), but since having my laptop repaired and everything wiped I'm convinced something with my dev environment is messed up.
When I go to run the project, there are no available devices, so it is not recognizing my Nexus 7 anymore.
Things I have tried
making sure my computer recognizes the device and that I have the Nexus 7 driver installed from ASUS
going to the SDK manager and ensuring I have the Google USB driver installed
closing Android Studio and re opening it, restarting my computer, restarting my Nexus 7
killing adb.exe from the task manager
ensuring I have USB debugging enabled and toggling that on and off
switching from MTP to PTP and back again (currently connected as MTP, not sure if that is correct)
Any help would be greatly appreciated. This is very frustrating and I would like to just get back to developing again.
Update- I just noticed that when I go to developer options, "Wait for debugger" (near where you toggle USB Debugging) is grayed out. I think this has something to do with it but I'm not sure how to enable it.
I got it!
This was at least the issue in my case, I hope maybe this will help someone someday, apparently I had not installed the adb driver properly:
Search for Device Manager from the search bar on the start screen
Open Device manager, click on your Android device
Select"Update Driver Software"
BOOM. Now Android Studio recognizes the device.
I know this may not be the solution for everyone, but its worth a shot if you are having trouble testing apps on your device.
Between upgrading my second-gen Nexus 7 to Android 5.0.x and Android Studio leaving beta I lost the ability to debug on my tablet.
To get this working again I used a combination of the above advice.
I grabbed a copy of the USB Driver from Asus, but updating the Device in Device Manager and pointing to the unzipped files wasn't enough.
The next step was to point Device Manager to the Android Studio sdk directory (on a 64-bit Windows 8 install that was C:\Program Files (x86)\Android\sdk - beta versions of Android Studio - or %localappdata%\Android\sdk - switched to in 1.x) and then things worked just fine again.
Another possible reason that you may not be able to connect is:
Don't forget to enable debugging mode in Android setting.
I have had the same problem, although just getting started with my Nexus 5 and windows 7. I installed google usb driver package using SDK manager first, computer recognized phone but studio could not find it. Went in to manually update driver for phone but update driver couldnt find it, downloaded driver separately and pointed it to directory path, driver installed then studio found it and ran fine.

Nexus 7 does not show under 'adb devices' with Windows 8 PC

I have done this in the past a few times, I see this process has changed a little.
Yes, I have already:
Installed Android Studio
Changed the USB computer connection to the NOT-very-straight-forward option Camera (PTP).
I have tapped the Build number found under Settings->About tablet 7 times in anxiety until I "became a developer" and the good old {} Developer options gracefully appeared again under Settings->System section.
Inside Settings->Developer options I have upper Developer options switched ON, and USB debugging as well.
On Android Studio, Tools->Android->SDK Manager I have installed Google USB Driver rev 1.0
Made sure both USB cable and ports and Nexus 7 are working and %100 functional. (I can copy the pictures from the device to the PC just fine)
EDIT: Where are the Nexus 7 (2013) drivers for Windows 8.1 available at?
What did I miss? Besides the fact I want to to get this done, I'm also partly posting this question so other developers who want to test on their 2nd generation Nexus 7 with Android KitKat 4.4.3 would have 1 complete thread with all of the instructions found here and there because this isn't as straight forward anymore in my opinion.
I have finally figured this one out:
This guide tells you to go and get the Google USB Driver from google.
For me, Downloading it as an optional SDK component just didn't do the trick. But on the very same page, there's a button that says Download Google USB Driver (near upper left corner, in blue.) This gets you latest_usb_driver_windows.zip file.
Use this guide right here If you are unsure how to install this driver. I could see my Nexus on adb after I've done this. Best of luck!

Eclipse does not see my device from one day to another (samsung galaxy s3 mini)

Okay so the facts:
I have been developing for Android device (Samsung Galaxy S3 Mini GT-I8190) in my PC for the last half year.
When i installed the developing tools, android SDK, eclipse, etc, all was like "plug and play"
It was easy and worked verry well.
So some days ago i just realised Eclipse shows my device NO MORE, here is how i tried to solve this issue in chronologic sorting:
Tried to replug my device
Tried to restart eclipse
Tried to restart device
Tried to restart PC
Tried to uninstall USB drivers and reinstall via Kies (I have tried
the old Kies, it has installed a driver which was not worked.)
I tried to update my Kies to a newer version and install the usb
driver again, not helped.
I tried with the new Kies 3, and it says that this version does
not recognise my device.
I tried to uninstall Kies, uninstall the the usb driver and download
a simple SAMSUNG driver file, so basicly i tried to install it
without Kies, not helped.
I tried to reinstall Windows 8.1 (yes, i made a whole system reinstall for this, which is not helped)
I tried to download Google usb drivers from SDK manager, not helped
I tried some commands to adb like "kill server" "starts server"
I tried to manually update driver from MyComputer's manage menu, not
helped.
I have made a factory reset on my device.
My computer sees my device so i can trasfer files. Developer mode is on.
Running adb devices output is empty, so i cannot see my device in list.
So here i am at a projects deadline with a mystery and i cant get it work.
Whoever solves this gets 500 reputation from me. Im not kidding, this is all i can offer.
E D I T:
Tried everything mentioned below. Is it possible that my phone or my PC's hardware makes this mess?
Try this :
Right click on My Computer --> Properties --> Device Manager --> Right Click on your device --> Update driver software --> Click on " Browse my computer for driver software --> Give path of your android sdk like "D:\Android_Sdk\sdk\extras\google\usb_driver" and tick "Include subfolders" --> Click next
Now repeat the steps till "Browse my computer for driver software".
Then click on "Let me pick form list of device drivers on my computer -> Click on the first option and click next and then click yes.
Drivers will be installed for your device.
This works for me.Hope this helps.
Try this process :-
1.Uninstall previously installed drivers and close eclipse
2.Connect your device with USB storage & USB debugging in Developers options on
3.Go to find new hardware wizard in you computer
4.Install Drivers including adb from there by selecting your device
5.After that restart eclipse , your device might be detected
These steps worked for me when i faced the same problem but my device was different , hope this works for you
As you hav tried every method now try Universal Naked Driver 0.72 removing previously installed drivers.
Universal Naked Driver works for most of the devices.
another alternative UniversalAdbDriver
Also check your supply USB port too, if u pass on a hub usb disconnect of this and link to pc directly.
follow this:
1 . find in SDK Manager --> Extra --> Google USB Driver -->install.
2 . please install samsung kies3 in your system . and connect your device with it then try ..it will work 100% . also tell me which target version you r using in your project if it 19 API level and your mobile is 17-18 API level then it ADT will not give u permission to run (not show you your device in android device choose dialog )
The answer is mindf. itself.
Today i asked my friend to test this problem with his device, (he's got a very same galaxy s3 mini device) and what i found was really blown my mind.
Eclipse does see his device, but not mine.
**
Yes, two identical, very same product and mine is invisible for Eclipse.
**
I just cant find words...
(It happened to me today after the updating from 22.3 to 22.6)
Verify " AndroidManifest.xml > Manifest Extras > Uses sdk > Min SDK Version " suits your device.
I was using my Samsung Galaxy S3 Mini GT-I8190L and I forgot that the minimum SDK for mine is API 16 (for Android v4.1.2). I fixed the number and now everything it's ok.
Try installing UniversalAdbDriver. It worked perfectly for me (GT-I8190).

Categories

Resources