0% found this document useful (0 votes)
21 views2 pages

Wireless Debugging Android Studio

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

Wireless Debugging Android Studio

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Wireless Debugging in Android Studio via Device Hotspot

Requirements

- Android Studio installed.

- USB debugging enabled on the Android device.

- Developer options enabled on the Android device.

- Android device's hotspot is ON, and PC is connected to it.

- USB cable (only needed for the initial setup).

Setup Steps

1. Connect your Android device to your PC via USB.

2. Enable USB Debugging:

On Android: Settings > Developer options > USB debugging

3. Check device is connected via ADB:

adb devices

4. Get the IP address of the Android device:

On Android: Settings > About phone > Status > IP address

OR via ADB:

adb shell ip route

Look for something like: 192.168.43.x

5. Enable ADB over TCP/IP:

adb tcpip 5555

6. Disconnect the USB cable.

7. Connect to the device wirelessly using the IP address:


Wireless Debugging in Android Studio via Device Hotspot

adb connect <device_ip>:5555

8. Verify connection:

adb devices

In Android Studio

Go to Run > Select Device. Your wireless device should appear for debugging.

For Future Sessions

Once the IP is known and PC is connected to the hotspot, run:

adb connect <device_ip>:5555

No USB cable needed unless the device IP changes or connection is reset.

You might also like