Ramp Me Up, Scotty!

EN | DE

Wireless App Debugging for Devices with Android 10 or less

2024-01-22

Most of the time I debug my Android apps by connecting my device to Android Studio with a USB cable because it is more reliable.

I was developing an Android app that communicates with USB devices and ran into a problem: the phone needed to be connected to a USB device for testing, but Android Studio normally requires the phone to be connected to my Mac via USB for debugging.

Android’s built-in wireless-debugging feature is only available on newer versions, so I couldn’t enable it on the device running Android 10. However, there is a simple workaround. Follow these steps:

That’s it— you can now disconnect the USB cable and wirelessly debug your app on Android 10.

Resources