LG Revolution and Android Development - android

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).

Related

OnePlus One Not found in Eclipse on Mac

My problem is that my OnePlus One phone is not found in Eclipse on my Mac even after trying things like activating USB debugging of course and even Menu>Storage>menu on the upper right corner>USB computer connection>check box MTP/PTP.
When i try adb devices it tells me that there is no device found.
I have tried two different cables (including stock cable).
It seems that with mac there are no drivers to install needed.
Thanks a lot for any help.
Sebastien
Thanks a lot for your answer Jiang YD.
Finally, i have tried again with the same conditions few days later and Android file transfer recognized my OPO.
My OPO activated the Debug Mode automatically.
And the best is that Eclipse recognize my OPO for debugging.
So everything works well but i don't really undestand why it didn't worked the first time.
It works with the stock cable.

HTC one just updated and now wont connect to DDMS

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?

how come my android devices are not visible on my Mac?

I'm new to android development so apologies if this is a stupid question.
I'm having trouble seeing my android devices in Eclipse. I've switched on USB debugging, configured them to connect as a camera not mass storage, but when I run ./adb devices, there's no device showing, even though I have a Samsung Galaxy and a LG Nexus connected via USB. On both phones I get a notification saying "USB debugging connected" and "connected as a camera" so the phone obviously thinks it's connected.
The problem appears to be intermittent. Sometimes the Galaxy shows up:
Macbook:~/workspace/android-sdks/platform-tools ./adb devices
List of devices attached
3334AB246B5200EC device
Then I unplug and reconnect it, and it disappears.
I've tried 3 cables and 2 devices now. Should I just give up and use an emulator instead?
I had to download the Android File Transfer mac application, and then it worked fine. I also had to use the right USB cord -- some don't have a data channel.
I know your problem is intermittent and as Jim says, restarting Eclipse helps when unplugging the usb and plugging it in again doesn't help. I did however find this extremely helpful detecting a new device: adb not finding my device / phone (MacOS X). Give this a shot for your already discovered devices, to see if that helps.
Sometimes adb fails to recognize devices properly.
Try "adb kill-server" and then "adb devices"

Eclipse/adb frequently disconnects from my device

While debugging, my device frequently disconnects from my PC, usually after every debug session. The device still appears in the DDMS list but the status is "offline". The only way to fix it is to reconnect the USB cord, which becomes a pain after doing it 10 times every hour. There are no visible error messages when it happens.
I thought it was a physical connectivity problem with my USB cord or my device, but I recently upgraded to a brand-new Galaxy Nexus with a brand-new USB cord and it still happens. Now I'm convinced it's a software issue.
Is there any reason why my devices goes offline frequently? Are there any programs that are known to interfere with the Android/ADB connection?
Yup, you are right. It seems to be a software issue.I have faced this annoying thing many times, it happens now and then. I think what happens is that the adb's connection with the device/emulator breaks or becomes faulty, so android starts showing the device as offline. To correct this problem. Go to DDMS-->Devices Tab-->Click the option "Reset adb" (which is the last option, on clicking the dropdown arrow) . You will then see some error report in the console, but after a minute your emulator would be ready to be used without problems. I do it all the time and it works. Try this instead of manually plugging/unplugging the device.
Please check this answer https://stackoverflow.com/a/26425489/1200583 that is for mac but maybe is the same for other OSs
I find it faster to just plug/unplug, but doing the following in command-line should do the same thing:
adb kill-server
adb start-server
We feel your pain. In case you're using the command-line, you can do the same thing by typing "adb kill-server".
I was able to fix this problem for good by updating Samsung Kies, which installed an updated driver for my phone. I suggest you try reinstalling any device drivers.
Patiently, try fixing the USB cord by massaging it and reconnect it to the USB hub securly but not to tight. Also, do not connect with too many USB extended cables or hub or the connection between the device and Eclipse IDE will interfere the duration.
And one thing, do tried putting your device and the USB cord to any flat surface (e.g. table) to support the long cable?
I had the same problem with Galaxy Nexus running CM 10.1.
Updating KIES with latest version seems to have fixed the issue.
Connect your device through a powered USB hub. Some machines, including new apple macbooks, do not have enough power in the USB ports causing ADB to constantly disconnect.
If your device is rooted, you can connect it to adb via wifi. This is very comfortable, much more than wired USB. Of course you don't always have a rooted device.
I also faced this issue. Adb disconnect my Android device each time just after installing the app in android device from eclipse. The issue was with my USB Cable. I was using the USB cable of Blackberry Phone. To resolve this issue i just changed the USB Cable with Android's USB cable(The cable that comes with new Android Phone) and every thing started working fine.
If you are running on Mac OS Sierra and Android Studio 2.1.2 or 2.2.0 then just upgrade your SDK-Platform Tools to 24.0.4 and Restart Android Studio. This will fix it.
The following two solutions worked for me.
You can try either of the two or both of them.
Restart device.
Free some internal storage space (Works in most of the cases).

Android USB-Debugging: Device recognized but then loses connection

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.

Categories

Resources