Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 4.2.2 adb can't find devices

With the new update to 4.2.2 to my Galaxy Nexus and Nexus 7, I can't find both my devices under adb.

These are the steps I took:

  • Updated to 4.2.2
  • Updated ADT and SDK through the SDK Manager
  • Checked ADB version, it's at 1.0.31
  • Restarted PC and Tablet and Phone numerous times

When I run adb devices, it's just blank. I have the same issue on Windows 8 and on Ubuntu 12.10, but on Ubuntu it shows my device and it says offline.

Are there any other steps I can take?

like image 515
tolgap Avatar asked Feb 22 '13 21:02

tolgap


2 Answers

From the adb docs

When you connect a device running Android 4.2.2 or higher to your computer, the system shows a dialog asking whether to accept an RSA key that allows debugging through this computer. This security mechanism protects user devices because it ensures that USB debugging and other adb commands cannot be executed unless you're able to unlock the device and acknowledge the dialog. This requires that you have adb version 1.0.31 (available with SDK Platform-tools r16.0.1 and higher) in order to debug on a device running Android 4.2.2 or higher

So, unplug, wait, replug in the cable, and hit ok (on modal dialog that appears on your device)

If you hit cancel, the device will show up as offline via adb devices

like image 103
petey Avatar answered Oct 29 '22 19:10

petey


Try pre-installing the drivers for your devices. Make sure, under Windows, that your device is recognized in the System control panel first.

I use Windows 7 and my Galaxy Nexus wouldn't be recognized by the system until I installed the device drivers before plugging them in. From the comments, this works on Windows 8 as well.

Galaxy Nexus drivers

  • http://www.samsung.com/us/support/owners/product/SCH-I515MSAVZW#
  • Goto Manual & Drivers > Software

Nexus 7

  • http://support.asus.com/Download.aspx?SLanguage=en&m=Nexus+7&p=28&s=2
like image 44
Kirk Avatar answered Oct 29 '22 21:10

Kirk