Android .NET MAUI Blazor应用在连接条形码阅读器时冻结

2skhul33  于 2023-11-20  发布在  .NET
关注(0)|答案(1)|浏览(108)

我使用.NET MAUI和Blazor开发的Android应用程序遇到问题。当我将蓝牙或有线条形码阅读器连接到Android设备时,应用程序冻结。在调查该问题时,我发现了以下日志:

[GED] ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 29, oppidx_max 29, oppidx_min 0
[GED] ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 29, oppidx_max 29, oppidx_min 0
[BLASTBufferQueue] [VRI[MainActivity]#0](f:0,a:1) destructor()
[BufferQueueConsumer] [VRI[MainActivity]#0(BLAST Consumer)0](id:43ca00000000,api:0,p:-1,c:17354) disconnect
[View] assignParent to null: this = DecorView@2a57615[MainActivity], callstack = 
[View] java.lang.Throwable
[View]  at com.mediatek.view.impl.ViewDebugManagerImpl.warningParentToNull(ViewDebugManagerImpl.java:179)
[View]  at android.view.View.assignParent(View.java:20814)
[View]  at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:5455)
[View]  at android.view.ViewRootImpl.doDie(ViewRootImpl.java:8884)
[View]  at android.view.ViewRootImpl.die(ViewRootImpl.java:8856)
[View]  at android.view.WindowManagerGlobal.removeViewLocked(WindowManagerGlobal.java:500)
[View]  at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:441)
[View]  at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:206)
[View]  at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5691)
[View]  at android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:5976)
[View]  at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5891)
[View]  at android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:71)
[View]  at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
[View]  at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
[View]  at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
[View]  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2405)
[View]  at android.os.Handler.dispatchMessage(Handler.java:106)
[View]  at android.os.Looper.loopOnce(Looper.java:201)
[View]  at android.os.Looper.loop(Looper.java:288)
[View]  at android.app.ActivityThread.main(ActivityThread.java:8144)
[View]  at java.lang.reflect.Method.invoke(Native Method)
[View]  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:573)
[View]  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1023)
[View] [Warning] assignParent to null: this = DecorView@2a57615[MainActivity]
[InputTransport] Destroy ARC handle: 0xb400007be1d34eb0
[libMEOW] meow new tls: 0xb400007dc18b14d0
[libMEOW] applied 0 plugin for [com.bluelotusx.blxpos].
[libMEOW] rebuild call chain: 0xb400007dc18a14c0
[libMEOW] meow delete tls: 0xb400007dc18b14d0
[DecorView] isCts, pkg: com.bluelotusx.blxpos

字符串
有人知道这个错误吗?请帮助我确定这个问题。

cgfeq70w

cgfeq70w1#

对于这个问题的未来观众,MudBlazor UI库旧版本有一个问题。将其更新到最新的稳定6.11.0对我来说很有效。

相关问题