My environment is: windows xp sp3, eclipse, all available software installed using SDK Manager.
Following Android developer site's guide, I could write and run hello world app on Android 2.3 emulator. Then I wanted to see if I could run my app on a real device - vodafone 845 (huawei U8120?) in my case. Here I stuck for two days now trying to install windows usb driver for my device. When I connect my device through usb with Debug setting On, windows keeps to ackowledge it as usb mass storage. On Device Manager, I tried Update Driver, selected C:\Program Files\Android\android-sdk-windows\google-usb_driver\android_winusb.inf file. it complained like:
"The specified location does not contain information about your hardware"
It's probably because of missing manufacturer/product information (VID_12D1&PID_1031) in inf file, right?
http://developer.android.com/sdk/win-usb.html site lists supported devices and says that any additional devices will require Windows drivers provided by the hardware manufacturer but so far I couldn't any information.
I guess many developers are facing this issue with their own devices that is not supported by Android SDK and I wonder how they overcome this issue - especially for vodafone 845 device.
Thanks in advance
Bob
This thread states that the USB drivers are included on the phone. Once the phone is connected as a USB mass storage device, browse the contents and look for the driver installer. If you have deleted it or are using a custom ROM you may need to search for the drivers on google.
PS This isn't really a hardware support site.
Yes this works like charm. Everything is located on the sd card. There are some weird things though:
- You can't to choose, if you want to mount the your phone as storage, on other phones you can.
- For us the install did not work at first, only the second time.
Related
I am using the latest version of Android Studio(2.1.2) at the time of writing this post . The problem that I am experiencing is that the ADB instance used by Android Studio doesn't seem to be able to find my Galaxy Core Prime device (SM-G361F, stock Android version - 5.1.1). It can connect to an emulator just fine.
What I had tried (most of these multiple times):
enabling/disabling developer options
enabling/disabling USB debugging
revoking USB debugging authorization
changing MTP to PTP and vice versa (my device doesn't allow deselecting both options, one must be chosen)
reinstalling the drivers
powering on and off both the phone and the PC
installing Samsung's Smart Switch software
using different USB ports
trying out different Android Studio versions (x86 and x64 with the latest respective JDKs)
This is what it looks like in Android Studio:
I had installed the official Samsung's USB drivers from here.
This is what the Device Manager is showing (Windows 7 64-bit SP1):
Afterwards, I've also tried installing the Universal USB drivers from here.
This is what firing up its installation of ADB looks like:
It has obviously successfully found the device.
My device also politely prompted me to allow the PC to connect to it using a generated RSA key which never happened with Android Studio.
The only thing I've not tried is installing Samsung's Kies software.
I really don't know what is the problem here.
Maybe I should just give up and instead use the emulator but it is a damn shame not to be able to debug on an actual physical device, if you ask me.
Thank you in advance.
Android in general does not support all phones for a debug connection. I have a samsung s6 and for me that works. I don't know about the Core Prime though. However, in most cases(in my experience):
The phone does not support the connection
You did not install all the required files in terms of the android SDK you might have not gotten the latest update that supports more phones
The OS is not supported - Mainly caused because Samsung and a lot of other brands insist on having their own updates. And some times they - on purpose or by accident - forget to support USB debugging for developers.
My tablet did not support the USB debugging connection untill it reached android 6.
The cable is a charge-only cable (yes, those exist for some reason). Try with a different cable
You don't have the necessary drivers. Make sure they're installed
It might be circumstantial that your phone model does not support the connection for some reason, but it is really hard to tell. The only way to get proper help is to contact Samsung customer support, but in my experience it is just a waste of time. They don't know their own products. If you try with another device it might work.
After some continued tinkering I managed to get Android Studio to recognize my device. All I did was adding the path to the ClockworkMod's ADB .exe to the PATH environment variable. That seems to have done the trick as Android Studio now allows me to run the application on my device even though it is still running its own instance of ADB (located in the platform-tools folder).
It might be completely unrelated but I'm not considering undoing the modification made to the environment variable.
Here is the proof:
I have recently bought a HTC Nexus 9 tablet for the purpose of USB debugging in Android Studio. This process works on other computers at university but I cannot get it to work properly from my home system,which is what I require. I have tried every single suggestion I have came across online but none have actually worked.
Steps Tried:
Downloading the latest google USB Driver
Installing it through Android Studio and Manually in device manager
Tried ADB Interface Driver and ADB Composite Interface Driver
Configuring driver inf file by adding hardware ID's
Ensuring usb debugging is enabled on the device
Using different USB ports,3 different cables
Tried connecting in PTP mode,MTP mode,charging only mode
Rebooted device and computer
Re installed android studio
No matter what I do,the device wont be shown in android studio or ADB.exe(under list all devices in terminal,also tried start and kill server). I am officially out of ideas,if anyone could figure this out I would be forever grateful!
I have attached some images of some of the things I have tried without success. Once driver has been installed it is listed as "Android Composite ADB Interface" or "Android ADB Interface". Operating system is Windows 7 64-bit
Device on first plug in
Picking a driver
Download HTC PC suite from following link ,install and give a try
http://pc2.software112.com/getfreesw/231109-1805719/htc-pc-suite-07.html
I personally have had many issues with setting things up for Android. Things you should ensure you do include;
Ensure you obtain the appropriate packages in the SDK manager - for example, I wasn't able to make logcat work when debugging with my phone until I downloaded the files for my specific version of Android (so the API files for a Nexus 9).
I believe you may also have to download drivers for your actual phone to allow connection - you should be able to download this from the HTC website. This might be what you need, although I haven't checked it out, and I cant find where I downloaded my drivers from;
http://forum.xda-developers.com/showthread.php?t=2217396
In general, you want to download lots of things from the SDK manager as you'll need them anyway, so don't hold back on just downloading them.
For those (like me) who is still concerned with this issue. You need to go to win+pause break ->Device Manager->Find "AdbInterface" with exclamation sign->Update driver->Search manually->Specify USB driver downloaded from SDK and enjoy: C:\Users\username\AppData\Local\Android\Sdk\extras\google\usb_driver
I recently bought a tablet from a company, in order to test my Unity3d games in a real android device. The problem is, the company did not provide the android USB windows drive to be installed and if Im not wrong it is necessary to make the debugging process work (please correct me if Im wrong). After some calls and emails for the technical support of this company, they provided me with files, which they are saying it`s what I need.
I have no idea of what to do with these files. Actually I`m thinking they are being dishonest with me and just gave me some random files. So if someone here could just check these files and see if they are actually drive files, or something else.
Just to be clear, I trying to get this drive because, when plug my tablet in my computer (with debugging mode enabled), and check in the Devices and Printers, I see a device called android, with no drive installation and information. Unity3d also can`t find any eligible android devices plugged on my computer.
I also already tried to install manually this “drive” they gave me using the UpdateDrive option, search for a drive in a computer folder.
If these are real drive files, could someone explain me how to install it on my windows 8?
Here is the link :
https://www.dropbox.com/sh/rqwzahpswk91lc9/WV5gvcPawx
Thanks.
Try to open the SDK manager and select "Google USB Driver" to install.
I run at the same problem with a prototype device, the company give the drivers to me and even I can install it, the SDK don't recignize the device in debug mode.
http://developer.android.com/sdk/win-usb.html
EDIT:
Even the Google says that the "Google USB Drivers" is for Nexus devices, it solved my problem with a Honeywell device.
EDIT2:
Can you post the file extensions if this doesn't work?
There is a .inf file?
If yes, you can install it just opening the 'Device Manager' in System properties (Win + Pause/Break) -> Select the usb device, double click on it -> Select update the driver -> select to install from disk -> select the .inf file.
If you can plug into a Linux then do lsusb in a linux terminal. Take that code and search the Internet. Might be the tablet you bought uses a common chipset and you can install the android driver from another vendor. You need the drivers based on the manufacturer. E.g. to debug with Android for samsung then install their Kies, for Motorola then their android drivers. Note, "Android drivers" is in addition to the regular usb driver than lets the phone show up as a disk drive.
I got a new Gingerbread phone to try to develop on, but Eclipse won't recognize it.
I put it into debug mode already.
The Win7 Device Manager shows a problem with 4 Qualcomm HSUSB devices, this is certainly related to the phone.
Windows update is unable to find any updates for it.
I couldn't find any drivers support downloads from BLU either.
About the phone:
Andriod version: 2.3.5
Kernel version: 2.6.38.6-perf
Hardware version: A5.V1.2
Build number: BLU_D170_v03_GENERIC
Did you try using the Google USB driver?
For me, in device manager, I had an unknown device listed as "Android device" with a yellow exclamation point over it. Right click it, then choose update driver software. Then choose browse my computer, then choose let me pick from a list of devices...
Then click the Have disk button, and point it to the google usb driver (this should be downloaded via the SDK manager). It will be in the folder where your SDK stuff gets downloaded in the /extras/google/usb_driver folder. When browsing, select the inf file in this folder.
You should get three options that pop up, choose Android ADB Interface. It will then install the generic usb driver so you can connect your phone to ADB.
Note: I have the BLU Dash 4.0, but the driver should work on just about any android device.
First of all, are you able to transfer data to the phone normally? If you can, don't bother with the second part below.
If you can't transfer data, look at this second part. When you bought the phone, did it come with a driver disc? If it did, install the drivers from there. If it did not, try checking the official manufacturer site to see if there's a driver online.
I managed to make contact with BLU service, and they e-Mailed me a driver that only works on 32-bit Win7, not 64-bit :-(
I figured out that I can still test my apps on my DASH 3.5 by uploading the .apk file to a webserver & using the phone to browse to that link. Android will recognize that .apk is an app file it can install. So you could also distribute your own apps to anyone this way, without using any of the Android stores|markets at all.
I am trying to test an Android application through the Eclipse plugin on a real device. It is a Samsung Infuse 4G. I believe I have followed all steps on the Android page for testing on devices.
First of all, I cannot figure out what the Android OS version is because it does not show up in the settings. I can see that the firmware version is 2.2.1, so I assume I am running that version of Android OS as well.
Next, when I connect the device to my computer (running Vista, 64 bit), I get prompted with three options: Kies (firmware update), Media player, and Mass storage. When I look on the Internet, I see that I am supposed to select "Charge only", but this does not appear in the options with which I am prompted. I have already set USB Debugging to true through Settings > Applications > Development.
Third, I have installed the correct driver from the Samsung site based on my model number (SGH-I997), yet when I do adb devices from my platform-tools directory (I have tried adb kill-server and adb start-server), I still do not get my device listed.
I am not very advanced in terms of working with Android and have been banging my head against the wall on how to solve this problem, so any and all help guiding me through this would be appreciated.
Thanks!
Try installing this PC Suite ...Samsung Kies http://www.samsung.com/in/support/usefulsoftware/KIES/JSP this would help you to get the exact driver for the device and don't forget to check USB Debugging option in settings.
You also need to mark "Allow Mock Locations "in Development Options in Applications settings of your phone.
Also try enabling ,use as mass storage after connecting your device.
You can check if your device is detected in device tab of DDMS in Eclipse.
Even trying all such things ,it does not work try connecting your device 2 or 3 times ,restarting eclipse and enabling USB Debugging and mock locations again