我的设备使用adb tcpip连接,并且Logcat未显示Log.i(TAG, "message")。运行abd logcat也不显示Log.i(TAG, "message")。当使用仿真器或USB连接的设备时,它工作正常。有什么解决办法吗?
adb tcpip
Log.i(TAG, "message")
abd logcat
在您的Android设备上,在“设置”->“系统”->“开发人员设置”中,有一个选项(默认为关闭),显示“启用Wi-Fi详细日志记录。”