
To use wireless debugging, you need to pair your device to your workstation For example, you canĭeploy your debuggable app to multiple remote devices without physicallyĬonnecting your device via USB and contending with common USB connection issues, IfĪndroid 11 (and later) supports deploying and debugging your app wirelesslyįrom your workstation via Android Debug Bridge (adb). Verify that your device is connected by running the adb devices commandįrom your android_sdk/platform-tools/ directory.In Android Studio to build and run your app on the device. When you are set up and plugged in over USB, you can click Run Links to OEM drivers, see the Install OEM USB drivers Windows: Install a USB driver for ADB (if applicable). Install: apt-get install android-sdk-platform-tools-common Udev rules: The android-sdk-platform-tools-common package containsĪ community-maintained default set of udev rules for Android devices. When you log back in, you can use id toĬheck that you're now in the plugdev group. Note that groups only get updated on login, so you'll need to log out for Plugdev group, you'll need to add yourself to the plugdev group: sudo usermod -aG plugdev $LOGNAME Plugdev group: If you see an error message that says you're not in the Ubuntu Linux: There are two things that need to be set up correctly:Įach user that wants to use adb needs to be in the plugdev group,Īnd the system needs to have udev rules installed that cover the device. macOS: No additional configuration required.Chrome OS: No additional configuration required.Set up your system to detect your device. Note: If you do not see Developer options, follow the instructions to Then enable USB debugging (if applicable). On the device, open the Settings app, select Developer options, and The device to using a USB cable or Wi-Fi. Set up a device for developmentīefore you can start debugging on your device, decide if you want to connect To run your app on a wide variety of real devices hosted in aĬloud-based infrastructure. Note: Use the Android emulator to test your app onĭifferent versions of the Android platform and different screen sizes. Your development environment and Android device for testing and debugging overĪn Android Debug Bridge (ADB) connection. When building an Android app, it's important that you always test your app onĪ real device before releasing it to users.
