Configuring Your System to Detect Your Android Device


* Target platform is set to Android, and the Android SDK version is given.
* Target is set to a detected Android device.

The Project Manager has a Target node located inside the Android target platform node. The Target node lists any Android device that is connected to your system via USB cable and has been enabled for USB debugging. In the Target node, the name of the active target device is displayed in boldface.

To Install, Configure, and Activate your Android Device as Your Target Platform

  1. Install the USB driver for your Android device.
  2. Enable USB debugging on your Android device.
  3. Connect your Android device to your development system using the USB cable provided with your device.
  4. At the AutoPlay prompt, select Open device to view files.
  5. In the Control Panel, search for and select "update device drivers".
  6. In the system Device Manager:
    1. Your Android device should be listed under Portable Devices. Locate and right-click your Android device, and select Update Software Driver.
    2. Browse to the \extras folder in your installed <SDK> directory, and select the folder that matches your Android device. Then click OK.
      For example, select google for the Nexus 7 or Nexus 10 tablet.
      If you do not find a folder for your Android device, see Installing the USB Driver for Your Android Device.
  7. Verify that your Android device is now:
    • Listed in Windows Explorer, below the system disk drives, along with your mapped network drives.
    • Displayed in the Target node in the Project Manager.

Troubleshooting

If your device is not correctly detected in RAD Studio or in the system Device Manager, check the following:

  • Ensure that your Android device is unlocked and not sleeping while connected via USB. Set the appropriate option in Settings or Developer Options.
  • Make sure your Android device is enabled for USB debugging. On many Android devices, you can verify whether USB debugging is enabled by visiting the Settings|Developer Options page.
  • Install the USB driver for your Android device.
  • In your system Device Manager, click the ScanHardware.png Scan for Hardware Changes button (or right-click your computer name and select Scan for hardware changes).
  • If you are running KIES, quit this application while working with RAD Studio. KIES conflicts with the underlying software that RAD Studio uses to detect Android devices.
  • If you are using a Kindle Fire, see Installing SDK Add-Ons in the Amazon documentation to configure your system to detect your device.

See Also