I have developed an application and i was planning to deploy it to my HTC Desire. I have installed USB driver. I turned on USB debugging on the phone and choosed charge only when phone plugged-in. When I run application Android device chooser show my device offline. I am stuck at this point. Any help would be appreciated.
I develop at Eclipse Helios on Windows 7 (64bit)
Had the same issue on my HTC Incredible S. The problem was that I used a third party docking station to connect. Connecting the phone directly solved the problem.
Go to DDMS->Devices->Click on View Menu Down arrow on right side -> select "reset adb" option it will work
In Android Studio: open the Android Device Monitor (Tools->Android) and click on the arrow on the 'Devices' tab to reset the adb
I found that my Pantech Burst had a problem similar to what you all described. After reading through many such posts everywhere I noticed many people reported having to use a USB cable that they got else where other than the phone manufacturer. What I decided to do was use a different USB port on my PC and the problem was fixed. My Pantech Burst does not go offline in the middle of a debug session any more. The port I used to use was the front port on my box, but it was wired to the motherboard without shielding inside the box. Now I use the port on the back of the box that is directly attached to the motherboard.
I'm on OSX and have a macbook retina. Switching the USB port that my device was plugged into, for some reason, fixed my issue.
I have HTC wildfire and disabling and enabling the debugging worked fine for the "offline" problem. The error does not show up.
However I ran into a new problem when trying to import a python file with sl3a : "no moduled named android" explained here. That being said, I still cannot run this
android.py
file located somewhere on the SD Card/python folder. I can connect with androidscreencast.jnlp and it works fine :)Removing the USB cable for about 5 seconds and reconnecting also solves the problem. Maybe you have to try one or two times.