Installing USB device, debugging and connection

The next step is to enable USB debugging on your Android device. This is part of Developer Options in your Android settings. But, Developer options may not be visible and has to be enabled:

  1. Find the Build number property by navigating to Settings | About on the device. Depending on your device, you may even need to drill down another level or two (such as Settings | About | Software Information | More | Build number).
  2. Now, for the magic incantation, tap on the build number seven times. It'll count down until Developer Options is enabled and then appear as another choice in the Settings pane.
  3. Go to Settings | Developer, find USB debugging, and enable it.

The following screenshot shows an Android device with USB debugging enabled:

  1. Now, connect the device to your development machine via a USB cable.

The Android device may automatically be recognized. If you are prompted to update the drivers, you can do this through Windows Device Manager.

On Windows, if the device is not recognized, you may need to download Google USB Driver. You can do this through SDK Manager, under the SDK Tools tab. For more information, go to https://developer.android.com/studio/run/win-usb.html. The following screenshot, for example, shows the SDK Manager's SDK Tools tab with Google USB Driver selected:

Great job so far!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset