-Connect Android phone and host machine to same WiFi network
-Connect Android phone to host machine using USB cable (to start with)
-Execute adb tcpip 5555 from a command prompt
-Find the IP address of your Android phone by going to Settings->WiFi->Settings (cog wheel in top right)
-Disconnect USB cable and run adb connect <ip>:5555
-You can now view logcat output by running adb logcat or by viewing the Android Monitor tab within Android Studio.
Enjoy! Follow us for more...
No comments:
Post a Comment