Nexus 7 not visible over USB via “adb devices” from Windows 7 x64

When the Nexus 7 is plugged in there is a persistent notification that indicates “CONNECT AS / Media Device (MTP)“. In this state adb devices will not show the Nexus, or undoubtedly any other device. Not exactly obvious, but if you select the second option “Camera (PTP)” the device is available for debugging (the lesson … Read more

adb not finding my device / phone (MacOS X)

Important Update : As @equiman points out, there are some USB cables that are for charging only and do not transmit data. Sometimes just swapping cables will help. Update for some versions of adb, ~/.android/adb_usb.ini has to be removed. Executive summary: Add the Vendor ID to ~/.android/adb_usb.ini and restart adb Full Details: Most of the … Read more

adb command not found

In my case with Android Studio 1.1.0 path was this /Users/<username>/Library/Android/sdk/platform-tools Add the following to ~/.bash_profile export PATH=~/Library/Android/sdk/tools:$PATH export PATH=~/Library/Android/sdk/platform-tools:$PATH

ADB No Devices Found

Windows 8 wouldn’t recognize my Nexus 10 device. Fixed by Setting the transfer mode to Camera (PTP) through the settings dialogue on the device. Settings > Storage > Menu > USB Computer connection to “Camera (PTP)”

ADB Shell Input Events

By adb shell input keyevent, either an event_code or a string will be sent to the device. usage: input [text|keyevent] input text <string> input keyevent <event_code> Some possible values for event_code are: 0 –> “KEYCODE_UNKNOWN” 1 –> “KEYCODE_MENU” 2 –> “KEYCODE_SOFT_RIGHT” 3 –> “KEYCODE_HOME” 4 –> “KEYCODE_BACK” 5 –> “KEYCODE_CALL” 6 –> “KEYCODE_ENDCALL” 7 –> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)