I would like to know is it possible to connect Android Studio Debugger through the network. Currently I generate an APK on the computer 1, I push on the network and I use adb to install it.
Now I would like to use the debugger on my Android Studio, so I would like is it possible to connect Android Studio on an ADB installed on an another computer? If yes, do you have a tutorial?
I created a schema for a better understanding :
(I don't want use ADB on my Computer 1)
Thanks
Starting from Android Studio Bumblebee (2021.1. 1) Stable, you can debug over Wifi just pairing the device by just scanning the QR code.
IMHO, I think of course you can do remote ADB and remote debugging, but you have to have ADB installed. (if you have Android Studio installed on Computer 1, I guess you also have Android SDK there, then ADB is there as well: $ANDROID_SDK/platform-tools/adb
)
You can forget about Computer 2.
Precondition:
Steps:
Connect device to computer via USB
Run adb tcpip 5555
(you'll see restarting in TCP mode port: 5555
)
Find your device's IP address (assume it's 192.168.1.101), then run adb connect 192.168.1.101:5555
(it should say connected to 192.168.1.101:5555
)
Disconnect device from USB (so now it's remote connected via tcpip)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With