Created
June 22, 2020 08:52
-
-
Save jsramraj/ce93d3d79f38a8d89576f066578bfb80 to your computer and use it in GitHub Desktop.
This file contains 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
- Connect the device via USB and make sure debugging is working | |
- Run `adb tcpip 5555` in the terminal. This makes the device to start listening for connections on port 5555 | |
- Look up the device IP address with `adb shell netcfg` or `adb shell ifconfig` with 6.0 and higher | |
- You can disconnect the USB now | |
- Type `adb connect <DEVICE_IP_ADDRESS>:5555` in the terminal. This connects to the server we set up on the device on step 2 | |
- Now you have a device over the network with which you can debug as usual. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment