Skip to content

Instantly share code, notes, and snippets.

@huberflores
Created September 16, 2018 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huberflores/27025aedf22ce7b6805b3d699d02521e to your computer and use it in GitHub Desktop.
Save huberflores/27025aedf22ce7b6805b3d699d02521e to your computer and use it in GitHub Desktop.
Adb-wifi
# author Huber Flores
#Open Android Studio and connect your device via USB
#Computer and phone need to be connected to the same Network
#Open terminal
$ huberflo@hp8x-78:~$ adb tcpip 5555
restarting in TCP mode port: 5555
#Check the IP of your phone via settings -> about phone -> status -> IP address
$ huberflo@hp8x-78:~$ adb connect 192.168.43.160
connected to 192.168.43.160:5555
#remove the USB cable from the phone
$ huberflo@hp8x-78:~$ adb devices
List of devices attached
d1007491 device
192.168.43.160:5555 device
#Now you can use Android Studio with Wifi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment