This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # adb-wifi - Connect to Android devices via ADB wireless debugging (Android 11+) | |
| # | |
| # Automatically discovers devices on the LAN via mDNS (avahi), | |
| # so no need to look up the port number manually — it changes every time. | |
| # | |
| # Dependencies: adb, avahi-utils (avahi-browse) | |
| # | |
| # Usage: | |
| # 1. Enable "Wireless debugging" in Developer Options on your Android device |