我正在使用 HC-05 蓝牙模块制作 Android 和 Arduino 蓝牙通信器。直到昨天还可以使用,现在基本的数据交换不起作用。蓝牙连接已完成,但每次都会引发此警告,我想知道数据交换是否没有发生此情况。
错误:
V/ViewRootImpl: The specified message queue synchronization barrier token has not been posted or has already been removed
D/ViewRootImpl[LoginScreen]: windowFocusChanged hasFocus=false inTouchMode=true
W/Choreographer: Already have a pending vsync event. There should only be one at a time.
D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@ee56af5[ActualMainActivity]
D/ViewRootImpl[ActualMainActivity]: windowFocusChanged hasFocus=true inTouchMode=true
D/BluetoothAdapter: java.lang.Throwable
at android.bluetooth.BluetoothAdapter.<init>(BluetoothAdapter.java:762)
at android.bluetooth.BluetoothAdapter.getDefaultAdapter(BluetoothAdapter.java:735)
at com.example.pmedsensometer.SelectDeviceActivity.onCreate(SelectDeviceActivity.java:29)
at android.app.Activity.performCreate(Activity.java:8006)
at android.app.Activity.performCreate(Activity.java:7990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3584)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3775)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2246)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:233)
at android.app.ActivityThread.main(ActivityThread.java:8010)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
W/BluetoothAdapter: getBluetoothService(), client: android.bluetooth.BluetoothDevice$1@63edcb6
D/ViewRootImpl: support adaptive color gamut feature!
V/ViewRootImpl: The specified message queue synchronization barrier token has not been posted or has already been removed
Run Code Online (Sandbox Code Playgroud)
选择设备活动类别的代码:
V/ViewRootImpl: The specified message queue synchronization barrier token has not been posted or has already been removed
D/ViewRootImpl[LoginScreen]: windowFocusChanged hasFocus=false inTouchMode=true
W/Choreographer: Already have a pending vsync event. There should only be one at a time.
D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@ee56af5[ActualMainActivity]
D/ViewRootImpl[ActualMainActivity]: windowFocusChanged hasFocus=true inTouchMode=true
D/BluetoothAdapter: java.lang.Throwable
at android.bluetooth.BluetoothAdapter.<init>(BluetoothAdapter.java:762)
at android.bluetooth.BluetoothAdapter.getDefaultAdapter(BluetoothAdapter.java:735)
at com.example.pmedsensometer.SelectDeviceActivity.onCreate(SelectDeviceActivity.java:29)
at android.app.Activity.performCreate(Activity.java:8006)
at android.app.Activity.performCreate(Activity.java:7990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3584)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3775)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2246)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:233)
at android.app.ActivityThread.main(ActivityThread.java:8010)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)
W/BluetoothAdapter: getBluetoothService(), client: android.bluetooth.BluetoothDevice$1@63edcb6
D/ViewRootImpl: support adaptive color gamut feature!
V/ViewRootImpl: The specified message queue synchronization barrier token has not been posted or has already been removed
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
223 次 |
| 最近记录: |