How to Enable USB Debugging mode on Android devices

Enable USB Debugging Mode on Android Devices

The steps to enable USB debugging to depend on the version of Android running on the target device, as indicated in the following table:

Android DeviceInstructions
Android 4.0 and newer (Jelly Bean)Enable the USB Debugging option under Settings > Developer options.

 

For Android 4.2 and newer, Developer options are hidden by default; use the following steps:

  1. On the device, go to Settings > About <device>.
  2. Tap the Build number seven times to make Settings > Developer options available.
  3. Then enable the USB Debugging option.
     Tip: You might also want to enable the Stay awake option, to prevent your Android device from sleeping while plugged into the USB port.

For more information, see Unlocking Jelly Bean and Higher Devices

Kindle Fire devicesSelect Settings > Security and set Enable ADB to On.
For more information, see the Amazon documentation.

If you are running Android 4.2.2 or later, you may see the following dialog when you connect your device to your PC running RAD Studio:

USB Debugging

Click OK to allow USB debugging on your PC. If you accidentally click Cancel, disconnect your device from your PC and connect it back to make the dialog show up again on your device.

  1. The simplest way to enable USB Debugging. Download APK Installer for Android from Google Play.
  2. The other way

For Android 4.x and above

  1. Launch the Settings on your Android devices. Tap Developer options
  2. Toggle the USB Debugging option.

Note: On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options.

Note: In Android 4.2.2, when you connect your PC to your Android device via USB, Android gets your PC’s RSA key (an identifier token). In Android 4.2.2, when you have USB debugging enabled, this now causes a prompt to appear on connection, seen below.

Check the “Always allow from this computer” checkbox and Click OK to accept the dialog.

For Android 2.x

  1. Launch the Settings on your android devices. Tap Application
  2. Tap Development and Check the box for USB Debugging

Troubleshooting

If your Android device is not correctly detected by RAD Studio or the system Device Manager, follow the steps above to verify that USB debugging is enabled.

For general information about development setup for Android devices, see the Android documentation.

You May Also Like: