Connecting a Device to Android Studio on Windows 10 - android

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

Related

Android Device is recognized by Android Studio on Mac but not on Windows

I have a Huawei U8815 and its not getting recognized on Windows by the Android Studio, I already changed MTP to PTP and didn't worked, but on Mac it works.
And I have a Nexus-7 and it works on both.
You need to install USB drivers for the device before it can appear in Android Studio. To confirm that the reasons missing drivers, open device manager You would find an entry that requires drivers with a yellow alert/warning icon, something similar to the image below but not exactly this.
Now Install the appropriate USB/ADB driver for the device. Once driver is installed you can view the device in Android studio.
You may either download the drivers from this link or Install HiSuite to get the drivers installed.
You need to download official drivers of the device..and then you are done :) cheers

Can't find my Nexus 6 under devices in Android Studio

Installed Android Studio and tried to launch an app. I can choose from different emulator, but I can't find my phone. I have connected it to my computer, enabled debugging in Developer Options, and I have tried to update the drivers from device manager in Windows, but Windows keep saying the best drivers are already installed. Anyone else had this problem? Really appreciate a solution.
Install the phone ADB to your pc from the internet, then from the device manager update the driver using the files you downloaded from the previous step, enjoy!
You can read more from this link USB Drivers
This worked for me:
http://visualgdb.com/KB/usbdebug-manual/
You have to update "android device"-driver manually in the windows device manager.

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.

Where to find or download USB Driver folder?

I am following the guide on http://developer.android.com/tools/extras/oem-usb.html for installing driver software so I can run applications on my actual Nexus 7. I got to this step in the directions(ironic cause its also step 7)
7.Click Browse and locate the USB driver folder. (The Google USB Driver is located in <sdk>\extras\google\usb_driver\.)
I tried doing the following
However when I hit browse, I got a dialog prompt saying "Windows could not find driver software for your device". The Android documentation stated that "The Google USB Driver is located in \extras\google\usb_driver\". When I navigated into \extras\google, this is all i saw
Is there anyway I could download the usb_driver directory manually? The sdk came along with the Android Studio download. I don't know why that usb_driver directory isn't there.
The issue was that I jumped ahead and skipped the most important step, downloading the Google USB Driver......
After installing the Google USB Driver package, Go to Device manager and search for your connected android phone and give the following path for android driver.
C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver
But by me, after downloading the SDK Tools/Google USB drive (not "Extra" anymore), when I try to update the driver (from device manager: Portable Devices/Galaxy J7 Nxt) it says: the best drivers for your device are already installed.
windows 10 / android 6 marshmalow installed.
phone: android J7 Nxt
driver installed: SAMSUNG Mobile MTP Device

Unable to install Android USB driver on Windows 7 Pro 64 bit

Unlike some others, my Android SDK setup went smoothly on my new Windows 7 Pro 64 bit machine. However, I am currently hung up on installing the android usb drivers. What is the current state of this issue? There has been some discussion of this problem on the web but no consensus is immediately apparent.
The Android USB driver page for Windows is very misleading, IMHO. It doesn't mention that it doesn't work for all Android devices. It turns out that for certain devices you need to go to the manufacturer's website for the USB drivers, NOT use the generic Android USB driver.
For example, in my case the generic Android USB driver would not work for my Sony Ericsson X10a. I forget the exact error message, but the Windows Device Manager would not recognize the driver software as being valid for the device. But after I downloaded the X10a USB driver from the Sony Ericsson developer website, the Windows Device Manager was happy with it. Then I was able to install my Android development apps on the device and debug via Eclipse/DDMS.
BTW, I too am using 64-bit Windows 7 (which is not the real source of the problem).
I had the same problem - with OEM drives and Android SDK drivers too. Finally what helped me was:
Device Manager - Update Drives Software - Browse my computer for driver software - Let me pick from a list of device drivers on my computer - Have Disk - Browse for file android_winusb.inf (in sdk folder) - Android ADB
Windows was not able to find drives in folder automatically :-/
I hope it helps to someone...
I tried all this solutions but nothing worked. Finally i found that i need to connect my device as camera and not as media device in phone under "USB PC Connection" in settings and i got it worked. But really it is a long struggle... :) For more details, see this link..
http://junefabrics.com/android/driver.php
I hope this will help someone with the same problem.
Tried this driver from Intel (after checking all kind of drivers (asus, google, samsung kies etc).
https://software.intel.com/en-us/android/articles/intel-usb-driver-for-android-devices
and it worked like a charm (after unplugging and replugging the usb from my Nexus 7 and enabling MTP)
The Android Drivers Installation has download package and installation instruction.
If you have installed the driver and it doesn't load... you can try this :
In windows 7,
Go to Computer Management , then Device Manager
Locate your device...
Right-click, and Uninstall... (make sure your device is unplugged)
Then Reinstall it again. (run the driver setup)
This works for me.
http://forum.xda-developers.com/showthread.php?p=36523572
Try the above link. its an Universal Android USB Driver. Worked on windows 7!
Long story short: downloaded DROID and HTC Hero USB drivers, installed them. Now its all good.
Softpedia's Galaxy S USB Driver worked on win7 x64 for me. Galaxy S Phones. Vibrant / Captivate
just install the oem android driver. pretty simple to do. unless if they dont have one you have to do it manually.

Categories

Resources