user1210233
user1210233

Reputation: 2940

Unable to run Android application on phone

I've been developing an Android app using Eclipse and the Android plug-in for Eclipse and all these days, I would just plug in my phone into the computer and hit Run and would see my app run on my Samsung Galaxy Phone. But now it shows me a window like the following and am unable to choose my phone as the device because under the "State" column it says "Offline" even when the phone is plugged into my computer. I can't even use the emulator because its painfully slow on my computer.

Upvotes: 0

Views: 1298

Answers (3)

user1210233
user1210233

Reputation: 2940

Reformatting the phone solved this problem for me. I don't know if that solved the problem but once I reformatted the phone, I was able to run the app on the phone.

Upvotes: 0

Nirali
Nirali

Reputation: 13825

Refer this link

Android device chooser - My device seems offline

  • Restart adb by issuing 'adb kill-server' followed by 'adb start-server' at a cmd prompt
  • Disable and re-enable USB debugging on the phone
  • Rebooting the phone if it still doesn't work.

enter image description here

Upvotes: 1

mah
mah

Reputation: 39837

Sometimes Android devices appear "offline" (according to adb devices). I've generally had success fixing this by rebooting the device, though it won't hurt to also adb kill-server followed by adb start-server.

I've seen this happen with multiple unrelated devices, infrequently, and seemingly randomly (that is, seemingly unrelated to anything I had been doing).

Upvotes: 0

Related Questions