2

I just got the 4.2.2 update but now Eclipse does not recognize my Nexus 7 (used as my app development platform). I have not been able to test a single run since the update.

The Android Device Chooser box now shows Target as Unknown and Offline!

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
penny89
  • 183
  • 1
  • 4
  • 13

6 Answers6

2

You may need to reinstall the USB drivers for your phone, and also make sure you enabled debugging mode on your phone's developer options.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
yrazlik
  • 10,411
  • 33
  • 99
  • 165
1

You need to update your Android SDK to the latest one from the Android SDK Manager.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
mihail
  • 2,173
  • 19
  • 31
1

Make sure you have the OEM drivers for the specific phone from the manufactuers, also. That usually gets missed.

1

Had the same issue (device shown but only offline) and tried lots of things for several hours, e.g. ...

... as well as all combinations ;) sometimes it worked, sometimes it didn't (this changed often after workstation restart). It gave me a headache.

What definitely worked was setting up the SDK in a Linux environment. I created a virtual maschine, installed Ubuntu and the SDK, forwarded the USB port - et voilà - no issue.

I know, this might not be an option for you - so this is just in case of ... ;-)

Community
  • 1
  • 1
Trinimon
  • 13,839
  • 9
  • 44
  • 60
1

There are two possible reasons. One is installing the correct driver and setting up the development options correctly. There are lots of answers for that one. The second reason (and the one that always catches me) is that when you first obtain a new Nexus 7 tablet, it is set in 'media mode'. In order to work with adb it needs to be set in 'camera mode'. To set it to camera mode one goes in settings/Storage. Then touch that little menu at the top right. Touch 'USB computer connection' and you will be offered a choice between media mode or camera mode. If it is not 'camera mode' all the driver and developer settings one fusses with make no difference. Set it to camera mode.

Brian Reinhold
  • 2,313
  • 3
  • 27
  • 46
0

Drivers got installed successfully and still device is not recognized by DDMS? Here is what worked for me:

  1. Go to device's notification bar
  2. Tap on "Connected as a media device"
  3. select Camera (PTP) option.

Device drivers automatically will get updated for Camera option and device will get listed in DDMS.

Bharat Dodeja
  • 1,137
  • 16
  • 22