Easily connect an Android device to your computer using ADB - wirelessly! This reduces cable mess during app development and other such tasks that rely on the Android Debug Bridge.
NOTE: to use ADB wirelessly, you must first connect your phone via USB cable each time you want to do this. There currently is no workaround for it, but after running the script for a few seconds, you can remove your cable and use ADB wirelessly.
- Install the Android Platform Tools on your computer
- Clone the repo using
git clone https://github.com/urmilshroff/adb-wireless.git
cdinto your platform-specific subdirectory
- Run the installer script using
- Ensure your phone and computer are on the same Wi-Fi network
- Make sure USB debugging is enabled
- Connect your phone via a USB cable
- Run the script using
adb-wireless(restart Terminal if it doesn't work)
- You can then disconnect the cable
This script was written by me (Urmil Shroff) based on instructions from this answer on Stack Overflow. I DID NOT INVENT WIRELESS ADB, I simply made an easy-to-use script!