Setting up USB debugging for your Android device

This tutorial explains how to prepare your Android device for USB debugging.

  1. If yon don’t have Android SDK installed, please install it first.
  2. Plug in your Android device. Go to Settings->Develop Option on it and enable USB Debuggingdbgsettings
  3. Ensure that the USB connection type is not set to “Internet pass-through”. Otherwise you won’t be able to debug your device. For simplicity, you can set it to “Charge only”.chargeonly
  4. Now we will install the Android USB driver. Download UsbDriverTool, unpack and run it.
  5. Select your device in the list, right-click on it and select “Install Android ADB Driver”:androidphoneUsbDriverTool will ask you whether you want to update the adb_usb.ini file. Normally you don’t need to update it, however if you encounter problems with ADB finding your devices, select “yes” at this point.
  6. Now it’s the time to test the driver. Open the Android SDK directory (C:\Program Files (x86)\Android\android-sdk) in Explorer.
  7. Hold the Shift button and right-click on the platform-tools folder. Select “Open command window here” from the menu. 14-shellIf you do not hold SHIFT while right-clicking, you won’t see the “Open command window here” option.
  8. Type “adb devices” in the command window:15-testIf the driver has been installed correctly, you will see your device in the list. If not, try installing the driver manually.

Want to learn more about Android debugging? Check out these tutorials: