Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Debug/Run/Install Android applications wirelessly (over wifi)
#!/bin/bash
#On the HOST side ie. your PC
#Initiate the connection on port 5555
adb tcpip 5555
#Replace <DEVICE_IP_ADDRESS> with IP of mobile
adb connect <DEVICE_IP_ADDRESS>:5555
#To revert back the debugging via USB use
adb -s <DEVICE_IP_ADDRESS>:5555 usb
#To check the android device's IP from Host PC
adb shell netcfg
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.