Setting up an Android 4.2 and newer powered Device for Development

Enable the USB Debugging option under Settings > Developer options.

For Android 4.2 and newer, Developer options is 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.

To install the Android USB driver on Windows 7 for the first time:

  1. Connect your Android-powered device to your computer’s USB port.
  2. Right-click on Computer from your desktop or Windows Explorer, and select Manage.
  3. Select Device Manager in the left pane.
  4. Locate and expand Other device in the right pane.
  5. Right-click the device name (such as Nexus S) and select Update Driver Software. This will launch the Hardware Update Wizard.
  6. Select Browse my computer for driver software and click Next.
  7. Click Browse and locate the USB driver folder in Android SDK. (The Google USB Driver is located in<sdk>\extras\google\usb_driver\.)
  8. Click Next to install the driver.

 

to check if the installation was fine run the following command: adb devices, then that device should be listed

Note: In Android 4.2 and newer you will not find your device name under other device, in order to show your device there:

1. go to your android device and select settings

2. Under Connections choose More networks 

3. Choose Tethering and Portable Hotspot

4. Check USB tethering

 

Then you will find your device name under other device

 

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:

AndroidEnableUSBDebuggingDialog

Leave a Comment.