-- open Android Studio, and click 'terminal' on bottom of the screen.
setup connection with device by command:
adb connect device_ip:5555
eg: adb connect 192.168.0.16:5555
and now when you try to 'run app' (shift+f10) you can see your device on the list.
-- another option
enter to shell:
adb shell
and debug via logcat:
logcat | grep package_name
eg: logcat | grep com.example.testapp
setup connection with device by command:
adb connect device_ip:5555
eg: adb connect 192.168.0.16:5555
and now when you try to 'run app' (shift+f10) you can see your device on the list.
-- another option
enter to shell:
adb shell
and debug via logcat:
logcat | grep package_name
eg: logcat | grep com.example.testapp