I am trying to debug on a USB connection to several different Sony tablets (particularly the P, which is listed as supported). I can debug on a smart phone, but the tablet doesn't show up as a connected device when I try to run my app in Eclipse. I have checked that the settings of the tablet have Applications->Unknown sources, and Applications->Development->USB Debugging
This is a fairly common problem. You basically don't have the drivers you need for USB debugging.
There are a few different ways I've had to obtain drivers for phones. The first way you should attempt is to go into the Android SDK and AVD manager and download the Google USB driver debug package.
This may or may not give you the driver you need. If it doesn't you will have to do one of two things. One, add the device details to the driver file you just downloaded. Generally these will be posted on forums/boards discussing your Tablet/Phone type. Secondly, you can download a different driver from another source like the Tab/Phone manufacturer.
Here a Youtube video how to install Sony Tablet S & P
Or the app you are developing has set the target higher than your tablet supports. Then it also won`t show up in the AVD Manager.
In case you wont get proper drivers for your tablet you can try adb over network.
Connect your device to wifi as well as your computer.
turn on ADB over network in Options for developers (maybe some ROM dont support it). Eventualy you can enable this using specific commands on your tablet.
on your computer run terminal and use: adb connect <ip>:<port> where <ip> refers to IP of your tablet and <port> refers to port on which adb is listening (usually 5555).
run adb devices to verify that device is connected
Related
My device is a Vodafone Smart Ultra 6. I have the android SDK on my path and such, I have a sure connection between the PC and the phone, I can use it as a media device and share files between, and I have set the developer options. In addition, I have tried USB tethering, and when I do it changes from no device to 'restarting in USB mode'
I am on lollipop 5.1 and windows 10.
Please advise.
You need a special USB driver for Windows to support adb. This page has more details: http://developer.android.com/tools/extras/oem-usb.html
Vodafone isn't listed as one of the vendors with a driver there, though. You may need to look at the USB VID/PID which is presented and if it matches one of the "known" IDs (such as Google's) then using the Google Windows driver may work for you.
I have a Nexus 7 Tablet I want to use for debugging an Android app I'm developing.
I'm doing the development and testing on a remote server using RDP and sharing my ports, including the USB that the tablet is connected to.
Per the instructions in this article, I have USB debugging enabled, and it is operating over the Camera (PTP) protocol.
So everything seems well set up from that side, but despite all efforts, I cannot get Windows (on the remote server) to recognize this as anything but a Portable Device.
For debugging purposes, it needs to be registered as an ADB Composite Device.
The aforementioned article says that, to overcome this, I need to update the driver software.
I have the Google USB drivers installed, but when I attempt to use the Device Manager to update the driver software to the Google USB driver, Windows simply tells me "The best driver software for your device is already installed. Windows has determined the driver software for your device is up to date. Digital Still Camera."
I've also tried editing the android_winusb.inf file with a listing of the tablet's hardware ID as a Composite Android Device, but to no avail.
How can I tell Windows that I'm using an Android device, not a Portable Device?
How can I tell it to use the proper drivers when it continues to override me?
I need to use my phone as emulator/target/virtual device when I run my application. I have enabled the USB Debugging in Settings.
What more do I need to do to make Eclipse AVD Manager to detect my Byond B54 and Micromax devices? How to get in usb drivers for these devices?
You need to install the drivers for windows to detect those devices.
if the drivers for those devices from respective manufactures are not available,
you can download and use moborobo. It works for most devices. I have used it for Byond tablet.
This Link will help you with the list of all the companies and their links which provide USB drivers. Please note that some companies may not be listed in this list. In that case you may have to go to the respective website of the company and search for the particular device driver.
As you are saying that you have enabled the USB debugging mode in those devices. Check whether they are connected properly. open the command prompt and type:
adb devices
The result will give the list of the connected devices. If the device can be seen in the list then you can be sure that its connected properly. And you can install the app directly on the device by typing in:
adb install path_of_the_apk_file/your_apk_file.apk
But note that you can only install the app in this manner not debug it.
install pda.net on your system.this software mostly works with all devices.Search PDA.net on google and install it after downloading .
I'm about to start writing some Android applications, I have downloaded Jave/Android and Eclipse.
I have a test Android tablet (Viewsonic Viewpad 10s) which I will be running the software on.
I was hoping to be able to just plug the Android device straight into my PC to allow me to debug/run applications on the tablet.
I have purchased a male->male USB cable and plugged it into both devices, but nothing happens, it doesn't even come up with an 'unknown device' in the 'devices' window. Is there something else I need to be doing to get Windows to recognise this device? (I'm running Windows 7 (64bit)).
Alternatively, is this the best way to be running/debugging on the tablet? I was thinking that there might be a network debugging application, as both devices are on the network?
I'm totally new to Android, so might be missing something obvious. Although I have set the 'USB Debugging' within the 'Development' menu.
Thanks in advance.
Rich.
It's a Windows problem, Windows isn't capable of recognize your tablet on its own, you need to install the appropriate USB drivers for your device in order to use your tablet when it is connected to your PC.
Under a GNU/linux distribution like Ubuntu everything is much more easier and you can just plug in your device without installing anything, you just have to set the right permissions for the device once.
Unplug the device from your machine
Install the driver for your device : http://www.viewsonic.com/support/downloads/drivers/_download/tablet/viewpad10s/ViewPad_10s_USB_driver.zip
Plug your device in
look at the device for a notificaiton saying debugging enabled.
If you dont, you will need to open Device Manager, find the listing that your computer thinks the device is and right click and uninstall it. Then unplug and replug.
I've followed this post trying to run my application on my galaxy. My app is debuggable, USB debugging is checked on phone and I've manually installed USB drivers - my device manager shows me that I have Android ADB Interface installed.
Despite it all - when I am running adb devices it would only list the emulator.
Any ideas? thanks!
P.s. I am running windows 7 and the mobile is Samsung Galaxi 1900I
I use Droid X, in Win 7.
sometimes it is not work too (adb can't detect my device)
but the solutions is simple, just switch usb connection into Windows Media Sync (ie. from PC Mode) , it is work for me.
also make sure to set your device in Debug mode (USB Debugging)
Yotamoo, When you first plug in, Windows offers you some choices on how to deal with the new device; Open in File Explorer, etc...one of them is Windows Media Player. Choose that. I had similar problems and this solution worked for me and my galaxy S3...
hakim, why does this work?
Make sure you installed the USB Drivers.
Locate your phone in Device Manager and see if it working correctly.
These are the correct drivers.
Turn Debugging mode on on your phone.
You will be prompted to accept USB debugging on your device if it detects some application would like to use it.
After you agree it will pop up as a debug-able device.
I had the same problems.
Try to update your smartphone in the device manager (computer->properties).
http://developer.android.com/tools/extras/oem-usb.html#Win7