Debugging Android Apps via Wifi(Android 11+)
Hi friends,
Earlier, I have explained the procedure to connect device so that debugging over WiFi is done. Please click here if you didn't read it.
Android 11 and higher support deploying and debugging android app wirelessly from your dev machine using Android Debug Bridge (adb). This eliminates the need to deal with common USB connection issues, such as driver installation & lots of wire near the dev machine.
Before you begin using wireless debugging, you must complete the following steps:
- Ensure that your dev machine and device are connected to the same wireless network.
- Ensure that your device is running Android 11 or higher.
- Ensure that you have Android Studio Bumblebee(2021.1.1.21) or higher.
- On your dev machine, update to the latest version of the SDK Platform-Tools.
To use wireless debugging, you must pair your device to your dev machine using a QR Code or a pairing code. Your dev machine and device must be connected to the same wireless network.
Here is the complete pictorial representation of the process.
1. Select 'Select 'Pair Devices Using Wi-Fi' option.' from the menu.
2. If the Platform-Tools is not updated then, this screen will appear.
3. Update the Platform-Tools.
4. After updating Platform-Tools, select 'Select 'Pair Devices Using Wi-Fi' option.' from the menu. Now you can see a QR Code for device pairing.
5. Open Wireless Debugging option in the phone.
6. Scan the QR using the 'Pair device' option visible on the phone.
7. Successful connection.
8. Now you'll get your testing device in the Run list.
To know more about this & have a detailed description, please visit https://developer.android.com/studio/command-line/adb
Have Fun!!
Happy Coding !!
Comments
Post a Comment