Installing the Android USB driver - not happening - android

Using AVD, I successfully obtained the USB driver. I followed the instructions on this page USB Driver for Windows but Windows never prompted with the "Found new hardware..." message.
I'm running Vista x64 SP2 and I can see the amd64 folder under ~\Android SDK\tools\usb_driver.
The Manage Devices applet shows no listing for "ADB Interface" so it certainly appears that it is not there. I tried a scan for hardware changes -- nada. And running "adb devices" comes back empty (as expected).
How do I install the ADB Interface?

Enable "usb debugging" in your phone (settings - applications - development).

I got my HTC Magic to install on Win-7 using Android SDK drivers, although process was not straightforward.
Right click on the Android phone item, then left-click on Update Driver Software.
Choose "Browse my computer for software"
Next, DO NOT click Browse... button to select the \google\usb_driver, if you do that you will get a message about Win 7 not being able to install the driver.
Instead, click on "Let me pick from a list"
Then a box appears with types of device, I chose All Devices and then click Next.
Then you get a list of device drivers, and at the bottom is a button "Have Disk..."
Click that button and navigate to the \google\usb_driver folder and select it, I then got a list of three items, one of which was the Android ADB Interface.
Click Next to install and for me that worked.
No idea why it doesn't work from the first Browse... button. But the longer way round did work for me.

If you have access to a Linux machine, It would be a lot easier to do it on that.
But assuming you don't...
Can you find the device in the device manager? if so you could install the driver that way, see "Windows Vista: Upgrade an existing driver" here
Also, do you even see it as a mass storage device?

I derived the solution after reading this page How-To #0: How to Install Usb Driver on Your Computer. Though the listed instructions didn't work for me, it did lead me to the solution so: credit where credit is due.
Vista automatically recognized the SD card and will install a USB Mass Storage Driver for that. Contrary to the instructions on the linked page, I did not have to remove this driver. Another comment in the text led me to needing to enable debugging mode (Settings -> Applications -> Development -> Debugging Mode). As soon as I enabled this (with the device connected), Vista immediately installed an "Unknown" driver for the connection and I was able to successfully update the driver. Works great!

Related

[Android studio]How to set a new phone in Android 6.0? USB device not found

I bought a new phone, it's a "wiko Lenny 3". I'm trying to configure my Android Studio to debug my apps on it.
I put my phone on the usb debug on, i set the screen to always active, i activated the unlock oem, and for the fictive position it asks me what's the app I want to set, I have only one choice: the radio. It was strange but I set it.
I downloaded the drivers but my computer doesn't want to install them. So I installed them on the folder "usb-drivers" in android-studio.
I don't know what's going wrong, I searched a lot on the internet but I didn't find anything useful.
Maybe I have to download good drivers but I don't know how to find them, the official website doesnt have the drivers.
PS: the android version is a special version create by wiko
You also need to enable debugging in phone's settings - enable developer mode first and then allow debugging, maybe that's the issue
First u need to install drivers for phone, next step is enable debugging mode in phone. And next u will easy connect and android studio will find a phone
I was having problems with connecting my new Huawei Nova with Android Studio (on Windows 7). Maybe it helps you.
Download USB driver for your phone - I found drivers for Huawei Nova here
Enable "Developer mode" and "USB debugging" your on phone - I found information how to do it here
Open "Device manager" and find your device. In my case it was in "Other devices" section as "ADB Interface"
Right-clik and choose "Update Driver Software"
Select "Browse for driver softwere on your computer" and then "Let me pick from a list of device drivers on my computer"
From the list of device types select "Show All Devices" (first option on the top) and click "Next"
In "Select the driver..." window select "Have disk" and find your driver on your PC. You have to select setup information file (.inf), then click "OK"
Select "Android ADB Interface" and click "Next" to install it.
P.S. In step 8 I've got warning that windows can't verify is this driver is compatible with the device, I click "Yes" and the driver was install properly.
After that Android Studio sees my Huawei Nova.
UPDATE (for Windows 10):
Download USB driver for your phone - I found drivers for Huawei Nova here
Enable "Developer mode" and "USB debugging" your on phone - I found information how to do it here
Open "Device manager", choose "Action" tab and click "Add legacy hardware"
New window will pop-up ("Welcome to the Add Hardware Wizard"), click Next
Choose option "Install the hardware tha I manually selected from a list (Advanced)", click Next
Choose "Show All Devices" and click Next
Click "Have a disk" and find downloaded driver on your PC. You have to select setup information file (.inf), then click "OK"
From list (Model) choose "Android ADB Interface" and finish installation
Restart Android Stuido and your phone should be visible as AVD device
First of all download the Google USB Driver
Then open to Device Manager. You will find our device name under other devices.
Right click on that and select Update Driver Software..
Then select Browse my computer for software driver
after that select Let me pick
then select Android Device
finally select Android ADB Interface
click next and install it.
Note: Make sure you enable Developers Options and USB debugging.
It should work like charm.
You need to enable developer mode.
Find the Android Build Number in settings
Settings > About phone > Build number
Once you’ve found the Build number section of the settings, tap on the section 7 times. After two taps, a small pop up notification should appear saying "you are now X steps away from being a developer" with a number that counts down with every additional tap.
After the 7th tap, the Developer options will be unlocked and available. They can usually be found in the main settings menu. You dive into that menu to do things like enable USB debugging.
You need to have the device drivers installed in your system for your device.
Allow USB debugging in your device.
First, Developers Options should be enabled in your device, then
Settings > Developers Options > USB Debugging(enable)
3.Connect your device as a Camera
I have the Google USB driver installed, my phone is already unlock, the usb debugging is enable on my phone too.
I'll try to find a way to install this drivers one more time and let you know.
Thank's everybody
My computer (windows 8) don't want to install driver without a licence but I find a way to do this on internet. Now it works fine.
Thank you =)

Android Studio - No USB devices detected

I tried to play Android Studio 2.0 with my mobile without success, what I did are:
In my mobile, Apps/gear icon/Settings/SYSTEM/{} Developer options/ Android debugging/, enable the Android Debug Bridge(adb) interface (set tick).
After plug in my mobile to my PC with a USB cable, I found A0001 in my Computer folder. Within A0001, I can see the files in my mobile.
In my PC, run Android Studio/bin/studio.exe, "Select Deployment Target" window shows with message "No USB devices or running emulators detected"
I have tried two different USB drivers but got no lucky.
Perhaps I should tell Android Studio where is my USB driver? But, how?
Can you help?
I had the same problem too and I managed to resolve it this way.
First, enable debugger mode in your android device.
Go to Device Manager from Start Menu and try to find ADB Interface with an error symbol on it. This generally happens because windows sometimes fail to load all the mobile device drives.
Next, Go to http://adbdriver.com/downloads/ and download the driver installer, unzip and run it.
Now go to Android Studio and you should find that everything is working fine.
Chill....
same here... but I hope you can avoid this problem the same way I Did.
There is an "universal ADB Driver for all Android Devices".
Yep... sounds like magic.
Just follow this link.
https://devs-lab.com/usb-adb-drivers-for-all-android-devices.html
Fun fact there is no "Step 5" in that article so I'll give you.
you have to enable "USB Depuration" from "Developer Options" connect your cellphone to computer as a "MTP storage" , after windows detected your cellphone as a "Portable Device" Execute ADBDriverInstaller.exe (that downloaded from devs-lab)
check the device list and your cellphone will say "Driver incorrectly", select your cellphone and press install.
Step 6: Once the process is completed, you’ll see something like the image that appears there (in the link).
I hope that somebody else work this
Go to Run > Edit Configurations...
Under Deployment Target Options select Show Device Chooser
Dialog from the drop-down-list
See picture for reference
After struggling with this problem for a while, I found that there are certain cables that can only charge your phone, and even though they seem to be working, they do not allow your phone to be used as a "Media Device" and therefore Android Studio does not detect it.
Go to
Tools | Android | Enable ADB Integration
Make sure it's enabled. When I upgraded to 2.X it was for some reason disabled for me and it took me hours to find it.
I just cannot beleive why it is so difficult! let me try again and please check my steps again:
I installed Android Studio 2.0, then run Computer/OS(C:)/....../Android Studio/bin/studio.exe.
The Android Studio window appeared in my working area Computer/OS2(J:)/Users/MyAccount/Desktop/.
I connected my mobile with my computer, Cpmputer/A0001/ appeared, from it, I can see the files in my mobile.
I clicked the run icon in the Android Studio window, a "Select Deployment Target" window apeared with message "No USB devices or running emulators detected".
(I got two USB ports and tried both but got the same result.)
Finally found the solution : )
1. Install device’s required driver. (for me it was motorola device
manager)
2. Download Google Usb Driver from SDK Manager
3. Open your phone's setting->developer options and turn on USB debugging.
4. connect your device to computer
5. Go to Device Manager from Start Menu and try to find if there is ADB Interface with an error symbol on it.
5.1. If yes, then right click on the ADB interface->Update driver
software->Browse my computer for driver software-> Let me pick from
a list of device drivers on my computer->Select Motorola ADB interface
5.2. Now one confirmation will pop up in your mobile, accept it
5.3. Now you should see no error mark beside the ADB interface in your
device manager
There are 3 steps to set up your phone for debugging:
1) Change your phone to developer's mode by going to Settings, About Phone, Software Info, Android Version - tap at least 7 times on the Build Number text. You will get a message saying you are now a Developer.
2) Enable USB Debugging in Settings - Developer Options. Make sure you are not connected to your USB port to see the USB Debugging option enabled, otherwise it will be disabled.
After you plug in your USB, swipe at the top of your screen, you will see USB Debugging on.
3) Make sure USB connection is set to Photo Transfer (or MTP - Transfer photos and videos). After you plug in your USB, swipe at the top of your screen, and you will see Tap to change USB options on the menu. Tap it, and select Photo Transfer option.
Perhaps your mobile manufacturer does not provide the proper driver.
Go to Device MAnager and look for: Android Composite ADB Interface. If it's there, the driver is properly installed. If not... You and I are on the same "wagon"...
I tell you: Acer? Never again.
USB debugging somehow got turned off under developer options on my Samsung. Turned it back on and it worked, but only by clicking on "debug app" instead of on "run app".
With me, when connecting the mobile to the pc, three options appeared on my mobile.
Charge this phone
Transfer Files
Transfer Images
I thought I should select "Transfer Files", but it dd not work
But it only when works I choose "Charge this phone"
Few ways to resolve this problem.
Case 1: Install PdaNet+ in your system. (worked for me).
Case 2: Enable the USB debugging option in your mobile. Setting > developer > Check "USB Debugging".
Case 3: Change from MTP to PTP.(sometimes vise versa works).
Question is Your development sdk no mobile version android sdk Platform.
For example, my android phone system is 6.0, i need download sdk Platform 6.0.
First, try to revoke the usb sessions in the developer options, then try downloading an oem usb driver
If then doesn’t help you can try opening the device manager on windows, right click on your phone, select uninstall. This worked for me if I had the same issue.
I couldn't find my android phone or any USB device I connect to my windows laptop on the hidden icons. Well, my mouse and phone could charge but I can't seem to see my phone in the File Explorer option.
I prefer running Apps using my phone rather than emulator in Android Studio and yet I couldn't see my phone when I connect using the USB.
This helped me solve all my problems after several hours of searching for solution.
Download Universal ADB Drivers - One size fits all Windows Drivers for Android Debug Bridge
Please use this link: https://adb.clockworkmod.com/
I hope this works for you like magic!
I can see all the devices I connect using the USB cable and my mouse receiver.

ADB doesn't list my Device

I'm trying to push an app from eclipse to my phone but adb doesn't work. It doesn't see my phone when I write 'adb devices'. First I thought it could be a problem of Cyanogen Unofficial Android 5.0, so I reverted to 4.4, but it doesnt work either. I followed an answer on this this question 'adb doesn't show nexus 5 device' by installing the driver but the device manager tells me, that the driver isn't installed (Code 28). When I try to install it manually it doesn't work, neither uninstalling works.
I had same problem. Fixed it by doing to device manager
1. Find the ADB driver. If it shows the warning sign then click on update driver.
2. Choose to update the file locally yourself.
3. Browse the file. It always shows a SAMSUNG COMPOSITE DRIVER. Select that option and let it happen.
Don't worry if your device is not Samsung. The same driver works for almost all devices. Mine is a YU Yureka with CM12.
Hope this helped you.
Delete the device from Device Manager.
Rescan for hardware changes.
List item will show up with "Unknown driver" status.
Click on "Update Driver" and select /extras/google/usb_driver
Device Manager will find the driver and warn you about installing it. Select "Yes." This time the device got installed properly.
[source] Android device does not show up in adb list
Try this tool when your device is connected.
--> http://adbdriver.com/
Normally it should list your device and notice it has a faulty driver.
Hit the install button and it wil replace the faulty one with a working one.
[Source] Personal Experience

LG G3 device not recognized by Eclipse on Windows

I recently bought LG G3 and I have enabled debugging mode but Eclipse is still not recognizing it, back when I used the Galaxy S3 for development I had to install Samsung Kies. The G3 drivers are installed and I can see it in My Computer, do I need something like the Kies but for the LG? If so can someone please post a link for that?
See update below
I found the answer that worked for me.
When you plug in the phone, bring down the status shade, pick the USB item ("USB connected") then, from there, pick "Internet connection" -- I chose Ethernet, but I'm not sure the choice matters on the dialog that pops up..
This enables USB debugging to become active; leaving it on Charging, MTP, or PTP does not work.
Once you do this, you can follow #Siddharth's steps to setting the ADB drivers, if needed. (You may need to use the actual LG drivers and not the Google drivers, but once I got this far, it was just like any other phone.)
Caveat
For me, even after going through this once, I still get the "installer" first and then have got go in and choose the "Internet connection" again. But, at least it works.
Update 10 Dec 2014
A recent firmware update has, indeed, removed the "Internet connection" as an option. Instead, PTP now works. I still get the "Connected as an installer" notification every time I plug in the phone and have to click on the notification then click on "Camera (PTP)" -- or wait about a minute. It's slightly better than what It was.
Also note: When this change occurred I had to install the drivers again for the phone, since it comes up as a different type of device when "Camera (PTP)" is chosen than when I used the "Internet connection" option.
For me, this has solved the problem: simply go to LG's website, http://www.lg.com/us/support/software-manuals, select the model (I have selected 'D850') and go to Software Updates tab where you can download the driver. I have installed it and then Eclipse recognized my device. I'm working on Windows 8.1, by the way.
yakobom
After a lot of searching and trying all solutions still I couldn't connect my LG G3 to eclipse on mac. Finally I find this solution, it works for me hope for you works too:
Install LG USB driver for mac
Go and enable developer mode in your G3 (Setting->About phone (in General Tab)--> Software information --> Tap 8 times on Build Number) then you will see the message which says the Developer option is enabled
In this step you expect that after connecting your mobile via USB cable, the Eclipse detect it
But for me it didn't happen
in this step you need to go (Setting--> Developer Options--> and turn off this option from above green (on/off) switch then again switch on this option from same place (If you don't do this step the "USB Debugging" mode will stay fray and you can not enable it)
In Developer Options menu scroll down until find the "USB Debugging" then tic it and enable it.
almost finished , you should back and configure running mode for your application and see the G3 in your connected usb devices
Try this solution :
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
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.
Hope this helps.
Change the USB mode to PTP and you will get the RSA prompt.
Within the prompt, select allow it > ok and you are done.
This worked for me when I had the same problem on a Mac computer.
To contribute to possible solutions for this fix: I am using an LG G3 on a Mac.
In my case, ADB saw it as a device when I checked, and the Mac showed the device information in the System Information window, yet Eclipse did not see it. I also did not get the RSA confirmation pop-up when I connected the device through USB.
To fix, with my G3 connected, I selected the USB PC Connection (either from the navigation bar or through the settings) and changed it to be Send Images (PTP). Once this was on, I was given the RSA pop up and Eclipse recognized the phone in the Run Configurations window.
If you have this problem on Ubuntu; here is what I did to get it working:
Switch to PTP from MTP on the phone (this assumes you're connected via USB)
Disconnect the USB cable
Go to settings -> developer options and select revoke usb authorizations then ok
Make sure USB Debugging is checked
Reconnect the USB cable and your phone will say its connected as an installer; wait a minute or three and debugging mode should appear on the status bar (on the phone)
Open Eclipse and go to DDMS
Select "reset adb" in the dropdown if your phone isn't appearing yet
Working on Windows 7. All of the solutions from other sites didn't help (i.e. restarting adb and switching between MTP, PTP, Charing). In the end, I found this article (http://www.technobuzz.net/install-lg-g3-lg-drivers-windows-mac-usb-adb/), which contains links for the necessary drivers for the lg g3 (and some others I think). This did the trick and made the RSA key fingerprint dialog appear finally. After confirming, adb and eclipse recognize my device perfectly!
I had this buggy error with my LG Optimus L3 phone connecting to Win7/8 machines!
Cause: Device Driver was missing as it seemed at the end when I fixed it!
How to Fix:
Search through web (using Google) "LG < Your_Phone_Model Number > Drivers Download".(Ex.:- Go to About phone in your settings list > Model Number, for me it's LG-E400f)
Mostly the first few links are related to the required Device Driver download page.(Ex.:- for me I got the following link and for each device driver LG or most of the other vendors/manufactures have that kind of a Manuals and Drivers Page) Visit that page mentiioning about software update and drivers downloads.
Scroll down to the section of "Manuals and Software Update" and doing just the Step 1 was enough for me, which is "Install the USB DRIVERS "
Download it(for Mac or Windows) > Install It > Check Your Eclipse ADT > and it should be visible under Devices tab by now
Cheers!!!
Hope this helps to someone else to clearly get to the solution!
it seems that Eclipse shows the offline mode for lg G3 and some newer devices
and there is no way no use these devices for ADB debugging
there is a way
I am using windows 10
1- download this 11 MB file < http://dl2.uncox.com/android/upload/platform-tools-v22.zip>
2- then go to the directory that you installed the SDK
3- extract the zip file in to the platform-tools folder , override all files(click yes to all) be sure that Eclipse doesn't running
4- open Eclipse and select your android device that stands in devices tab at the right-top corner of your screen and then you can see the arrow near the screen- capture icon and you will find the reset-ADB. click on it ,after that your phone will ask you to allow android debugging for your device click on it
5- congratulations .now you can see that your device shown online
i hope this will help .sorry for my english
I also had a great deal of trouble when attempting to debug android applications on my shiny new LG G3. What ended up working for me was first installing the default google drivers onto the G3 and then following the process detailed by #lilbyrdie.
The process of installing the google usb drivers is very nicely gone through here.
However, with the most recently pushed android update to the G3 there are no longer the options for internet connection or charge only; but they seem to have fixed this defect forcing you to make this odd choice to enable debugging. The only options remaining are MTP and PTP, but if you pull down the notification drawer, choose the 'USB connected' notification (assuming the device is connected to your computer via USB of course) and from there click on 'Media sync (MTP)' even if it is already selected then debugging should be enabled.
Android can't update on the fly the developer mode. So, after turning on developer mode (and given you have the latest driver) switch the green button(under settings->general->developer options) to off and then back on. Then turn debug mode on (after that windows recognizes a new device) and you should be good to go.
In my solution for Windows 7 was helpful to update Android SDK Tools to latest version.
ADB Single/Composite values for LG G3 phones -
I found it was necessary to update (~userName/.android/)adb_usb.ini file with the line 0x1004:
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x2207
0x1004
In addition, I needed to add the following entry in (.../sdk/extras/google/usb_driver/)android_winusb.inf:
;
; Android WinUsb driver installation.
;
...
[Google.NTx86]
...
;LGE Android Phone
%SingleAdbInterface% = USB_Install, USB\VID_1004&PID_633E
%CompositeAdbInterface% = USB_Install, USB\VID_1004&PID_631D&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_1004&PID_631D&MI_01
[Google.NTamd64]
...
Oh, and set USB to PTP as well as turn-on USB debugging.
When you're all done with the file modifications and several passes at installing the drivers (ref. earlier posts), you can verify your phone is ready via the Device Manager. It will list your phone as "Android Device"->"Android Composite ADB Interface". I believe an earlier post explains setting up the drivers

android sdk eclipse, samsung galaxy tab 2, How to recognize devices

I'm trying to develop on Samsung Galaxy Tab 2 with eclipse and android sdk. I've already installed Samsung Kies and turned on USB debugging on my device.
It looks like eclipse didn't know the new samsung driver. Did I forget something? What should be the windows pilot of the device? I think is the samsung pilot. Should I be able to create virtual samsung at this step? What is the correct url for the samsung add on site?
I'm on windows 8. I'm using Eclipse Juno and adt-bundle-windows-x86_64-20130219
I suggest you try this.
Unplug your device. Install this drivers. After installation plug it in again.
It should recognize your device.
Link : http://www.samsung.com/us/support/owners/product/SCH-I705MKAVZW
If Windows recognises the USB mass storage on your device, what you can do, is go to Device Manager, Right-click on My Computer > Manage > Device Manager, find your device, should say not recognised or something like that, click Update driver software then click Browse my computer for driver software then click Let me pick from a list of device drivers on my computer, you should end up with a list, click Show all devices or something like that. Then search for your manufacturer in the list, in your case Samsung, click on manufacturer and find Android USB debug or something like that (it's a certificate) then install that.
Restart your adb in Eclipse, to do so, go to devices tab, (to get to it, click Window > Show view and find Devices if not in that list, then check in Other list at the bottom. Click on arrow in image below, and select restart adb . Finally restart Eclipse.
Hope this helps.
I suggest you to run cmd, then go to platform-tools root, and run the following command:
adb devices
This will list all attached devices and tell you if your samsung phone is recognized by Android Debug Bridge, if it is not then search for another driver for your phone and try again.
On a Galaxy Tab 3 7.0 you need to go to Settings -> Developer Options (scroll right down the list to the left), enable it in the top-right switch, then turn USB Debugging on.
Running adb devices will then show your device if you have the Samsung Mobile USB Composite Devices driver installed (through Kies or otherwise).

Categories

Resources