Created
June 2, 2021 12:08
-
-
Save FellipePeixoto/1479357e9177fe20d0e605c5bc9d4859 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
1 - Connect the device via USB and make sure debugging is working; | |
2 - adb tcpip 5555. This makes the device to start listening for connections on port 5555; | |
3 - Look up the device IP address with adb shell netcfg or adb shell ifconfig with 6.0 and higher; If it doesn't work, go to your wi-fi router and find the ip of the device | |
4 - You can disconnect the USB now; | |
5 - adb connect <DEVICE_IP_ADDRESS>:5555. 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. | |
For more info: https://stackoverflow.com/questions/4893953/run-install-debug-android-applications-over-wi-fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment