We need remote debugger to get logs from the device through logcat.
Both the device and PC should be under same wi-fi router : like mrl
- Connect the device to the PC using USB and establish an ADB connection
adb tcpip 5555
# 5555 is the port number- Disconnect your USB cable
adb connect MOBILE_IP:port
=>adb connect 192.IP_REMAINING:5555
- Tern on AndroidStudio and check the logcat