I followed the steps for USB Debugging showed here under paragraph 8 and my HTC Desire is recognized once:./adb devices
List of devices attached
SH0BJPL02419 device
Then I run the exact same command once more and the connection is lost. Sometimes I can also see the devices three times but after a couple of secs the connection is gone.
USB Debugging is still displayed as 'on' on the phone, though.
I use Debian Squeeze 64bit.
Thanks in advance for any help!
Selecting 'harddrive' on the phone did the trick in case anyone is interested.
Related
Up until recently I had no problems debugging with my Nexus 5 connected via USB cable to my PC (Windows 10).
Suddenly I cant see my device in the "Connected Devices" list. can anyone help?
Can't see nexus 5
Driver is OK
And I can edit my files through the explorer.
Help?
try to use original nexus cable when connect from device to computer , i have this case and solve it when use this cable
Today I noticed the same behavior on my LG Nexus 5 with Android M.
I also remember two icons that are in status bar when you were connected through USB. One for charging and one for debugging. None of these is showing anymore.
My only guess is that some hardware is damaged. Probably the USB connection port. Yesterday I remember that my cable was causing unstable connection and the 2 icons I mentioned were appearing/disappearing repeatedly in one second(flickering). It looks like it was bad connected due to broken cable until finally it burned some internals.
I've seen other people complaining for the same reason. Nobody has discovered or posted any reasonable answer yet.
After years of programming apps and using n5 for debugging, this is for sure not driver (I'm on Mac OS X), adb, or other typical problem.
The only thing is left to try is restoring to factory.
UPDATE:
Before posting this answer I tried everything, changed a lot of cables, even tried booting into safe mode. And just after posting this answer here, I tried one more time to reconnect all cables from my MacBook and the charging icon appeared again!
My new guess is: there might be some bug probably related to battery.
When started noticing the problem first my phone battery was about 11%. Now that it works again it's on 50%+.
And I say it's a bug because I know for sure that I ran a lot of apps from Android Studio with phone being below 50%.
I don't know why, but all my drivers are up to date and my HTC one won't connect.
Recently my HTC one updated and now when i connect it to my mac, i see it start charging. I even see the USB connection icon show up but DDMS and ADB both don't see the device.. I can't build to it from eclipse.
I checked the obvious, developer options usb debugging is on.. I HATE this phone by the way.. should have got the nexus 5.
anyone experience the same problem? have a fix?
I had the same problem I restarted the adb and my phone and it was able to pick it up
you could also try doing this: Why can't won't ecilpse connect to my Android device?
So I've read nearly every stack overflow answer about this issue, but still no solution. My device keeps getting disconnected. I've switched through 12 wires, I've tried every USB port; nothing. Eclipse keeps dropping the connection. It happens most often when I enter debug mode. Has anyone found a solution to this? Is this a bug in the new update? Seriously, this makes debugging and testing so painful. It slows down my testing by at least 3 times. There has to be a better solution.
First thing I tend to try is the following commands in cmd/terminal
adb kill-server
adb start-server
And lastly,
adb devices
To check the device is connected.
Following that I'd try restarting the device, and perhaps as a last resort uninstall/reinstall it's drivers.
Edit: also, do you have access to another device? In the past I've had issues with specific devices constantly dropping out.
I experience that when my nexus7 2012 kept disconnecting; root cause was the USB3 connection.
Changing to a USB2 port fixed my issues; can you try switching to a lower speed port?
I was having a very similar problem but using Android Studio on OS X. By default Android Studio points to an SDK inside it's application bundle so I changed the SDK location setting to point to another version of the Android SDK I had downloaded manually and this seems to have fixed the disconnection issues I was having.
Instructions for changing the SDK location setting can be found in this answer.
My connected device (an Acer) was working a treat until I rebooted my mac. After the reboot, Eclipse dropped the connection every single time I ran the app. I tried two cables and every port in my iMac but nothing worked. I had to disconnect and reconnect the device for every run (a real pain when debugging!).
What worked for me was to run the app. When the window appeared to choose the device to run on (which was empty), I disconnected then reconnected the device, but before clicking to run, I checked the box (bottom left) to use this device for each run. It now runs every time directly on the device.
a unpowered usb hub did fix the problem for me. it was happening on both my samsung s6 and my sony z5 premium.and both on my pc and my mac. (using android studio).
Use short usb cable. The shorter the length of cable, the more stable the adb connection. I had the same problem for long time. I changed the cable to shorter one and I haven't got that problem anymore.
I have an android tablet "Galaxy Tab 10.1" and need to connect to my pc to debug but it even doesnt show up on Device Manager when I plug the cable. I saw many solutions and tried it, like:
Downloaded samsung usb driver from here:
http://www.samsung.com/us/support/owners/product/GT-P7510MAYXAB
Also in settings USB debugging is enabled.
But there is still no change! Is there any suggestion?? Thanks in advance!
Go to Settings->Select Storage->Click on the three dots->Usb Computer Connection->Experiment with either MTP or Camera. For my phone it works only with Camera mode.
Well, I changed the cable, reinstalled the drivers and worked :)
After you plugged in try to shutdown and then power on the tablet whilst connected. It solved my issue. Hope this helps!!
You could try turning USB debugging off. Also, is there maybe a setting to change the USB mode in settings? Most Android devices have one somewhere.
I've seen this quite a bit, and it seems that happens when the Samsung connector on the bottom of the device is not properly seated. Remove and firmly re-connect has solved the issue a few times for me.
Disconnecting & rebooting the device, run "adb kill-server", reconnect device, run "adb devices" - seems to solve a good few issues also.
Hi There i got a Simple Solution to share.
1st step: Dont connect your android tablet or phone on the computer in this time. :)
2nd step: if your android tablet or phone is on then TURN IT OFF!!
3rd step: NOW after you turn it OFF turn it ON again then connect to the computer Via USB cable..... SEE IF IT WORKS
download Kies and it will automatically download all required drivers - samsung file sync app
read more: http://www.samsung.com/latin_en/support/usefulsoftware/KIES/JSP
download: http://www.samsung.com/us/kies/
Okay Android made this much harder than it needs to be (as usual).
I fought this for two days and finally found a way to turn USB sharing on on the tablet. I loaded the drivers to the computer and it recognized the device but would not read it. The solution was to go to settings, storage and then ignore everything in the storage box. In the top left corner a USB symbol will appear very small next to the sd card logo (if one is mounted) Long Press and drag that down to open a message box. There will be an option to turn on USB sharing.
I am trying to use my Revolution with my Windows x64 machine
I got the LG Revolution the day it came out and have been very happy with it so far except for this problem. Whenever I connect the device to the computer (doesn't matter which mode), I get random error messages about Device not recognized. I have used different cables/OS/computers. I have the LG USB drivers loaded.
I ran adb devices in Command Line and i get no connected devices. it's as if the OS doesn't see the phone.
i downloaded the drivers from LG Revolution Drivers
Please help. Any advice or steps needed to fix would be greatly appreciated.
After hours and hours of trying to figure it out; I realize that I have to place the phone into "Internet Connection" mode. (Which is counter intuitive).