I'm not sure which version of android required to have this feature. For my Redmi 9S follow steps below
navigate to
-Settings -> Additional settings-> Developer options -> Wireless debugging
and enable it then click "Pair device with pairing code"
then on your laptop (ip port and code are not exactly same with code below😅)
zsh 1010 % adb pair 192.168.1.213:41855
Enter pairing code: 185176
Successfully paired to 192.168.1.213:41855 [guid=adb-eee2c79f-MOsHVT]
[Sun 23/09/10 23:14 +07][s002][x86_64/darwin22.0/22.5.0][5.9]
<medici@medicis-MacBook-Pro:~>
zsh 1011 % flutter devices
1 connected device:
macOS (desktop) • macos • darwin-arm64 • macOS 13.4.1 22F770820d darwin-arm64
1 wirelessly connected device:
Redmi Note 9S (mobile) • adb-eee2c79f-MOsHVT._adb-tls-connect._tcp. • android-arm64 • Android 12 (API 31)
[Sun 23/09/10 23:14 +07][s002][x86_64/darwin22.0/22.5.0][5.9]
<medici@medicis-MacBook-Pro:~>
zsh 1012 %
Wireless debugging menu may in others place depend on ROM but I hope you got the idea. I really like this feature. Developing app on real phone is a lot faster for me
Comments