Debugging for Android devices

Debugging for Android devices is slightly more complicated than for a PC. You must install all the necessary packages for Android development, such as JDK (version 6 or later), Android SDK, and Android NDK. Then you also need the Android Debug Bridge (ADB) driver on the Windows platform to enable USB debugging, since the default USB driver on Windows does not allow for debugging.