I'm currently using USB connection to debug my web application using chrome's inspect devices. During demonstration or presentation, I would not be connecting my mobile device to my PC client but I would want to see the console logs on my PC just in case there are any abnormal events happening. Is there anyway to do it via WIFI?
Or do I have to send my output data over to my web-service and to see it from there?
Android WIFI ADB is a plugin available in Android Studio that helps you to connect your system to devices over a Wi-Fi network. It allows you to quickly connect your Android device over Wi-Fi by pressing one button, to install, run, and debug your applications without a USB connection.
Go to chrome://inspect#devices . Make sure that the Discover USB devices checkbox is enabled. Connect your Android device directly to your development machine using a USB cable. Your Android device may ask you to confirm that you trust this computer.
You can do it via wifi.
1) Connect your device to pc using adb.
2) Enable developer option.
3) Open terminal/console.
4) Run following command
1) adb tcpip 7777
2) adb connect 192.168.1.77:7777
Replace 192.168.1.77 with your android device ip.
5) Once it will successfully connected you can remove cable and perform your demonstration. you will get console logs via wifi.
You can! Follow these steps:
Connect device via USB and make sure debugging is working.
(GO To the root directory of your sdk)
For my case it's > C:\Users\johnrao\AppData\Local\Android\sdk\platform-tools
Shift Right Click and open command here (Windows)
That works for me!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With