简体   繁体   English

将android平板电脑与蓝牙设备配对后使用logcat

[英]Using logcat after pairing android tablet with bluetooth devices

For some reason, it seems that my log messages don't come in after I connect my tablet with other devices through bluetooth. 由于某种原因,我通过蓝牙将平板电脑与其他设备连接后,似乎没有收到日志消息。 I create aa log message saying Log.d (TAG, "On Create") and I see this in my logcat, but then when I connect the tablet with a device, this suddenly disappears from my logcat and the messages that are placed afterwards don't appear at all (verified by using toasts instead). 我创建了一条日志消息,上面写着Log.d(TAG,“创建时”),我在logcat中看到了此消息,但是当我将平板电脑与设备连接时,该消息突然从我的logcat中消失了,之后放置的消息也不再显示了。根本不会出现(通过使用吐司进行了验证)。 Is this a problem with bluetooth or is there something elseI'm missing? 这是蓝牙的问题还是我缺少的其他东西?

试试看

 Log.e(TAG, "On Create")

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM