IT技术部
IT技术部
  • 发布:2023-07-04 11:22
  • 更新:2024-06-04 16:42
  • 阅读:504

安卓经常崩溃请求来个大佬解决一下问题

分类:uni-app
最近用户反馈崩溃越来越频繁了特别是安卓 我们收集到的主要日志如下

java.lang.RuntimeException: Probable deadlock detected due to WebView API being called on incorrect thread while the UI thread is blocked. at uH0.c(chromium-TrichromeWebViewGoogle6432.apk-stable-511209734:75) at com.android.webview.chromium.WebViewChromiumFactoryProvider.j(chromium-TrichromeWebViewGoogle6432.apk-stable-511209734:157) at com.android.webview.chromium.WebViewChromium.onCheckIsTextEditor(chromium-TrichromeWebViewGoogle6432.apk-stable-511209734:2430) at android.webkit.WebView.onCheckIsTextEditor(WebView.java:3108) at android.view.inputmethod.InputMethodManager.getStartInputFlags(InputMethodManager.java:2523) at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:2297) at android.view.inputmethod.InputMethodManager$DelegateImpl.startInput(InputMethodManager.java:693) at android.view.ImeFocusController.checkFocus(ImeFocusController.java:174) at android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:2539) at android.view.inputmethod.InputMethodManager.showSoftInput(InputMethodManager.java:1896) at android.view.inputmethod.InputMethodManager.toggleSoftInput(InputMethodManager.java:2158) at io.dcloud.common.adapter.util.DeviceInfo$2.run(Unknown Source:6) at java.util.TimerThread.mainLoop(Timer.java:563) at java.util.TimerThread.run(Timer.java:513) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.FutureTask.get(FutureTask.java:204) at uH0.c(chromium-TrichromeWebViewGoogle6432.apk-stable-511209734:73) ... 13 more

来大佬救救急呀 很急

2023-07-04 11:22 负责人:DCloud_Android_ST 分享
已邀请:
FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

检测到可能的死锁,因为UI线程时在错误的线程上调用了WebView API

  • betttty

    大佬,多个帖子下看到您的热心回复了,麻烦问一下native.js能不能实现ios本地选文件呀?原生我用UIDocumentPicker实现的,不知道怎么改成native.js的

    2023-07-04 17:08

DCloud_Android_ST

DCloud_Android_ST

用3.8.7HX打包编译apk 灰度下看看

  • IT技术部 (作者)

    你好我这边用3.8.7版本打出的包依旧会有统一的问题

    java.lang.RuntimeException: Probable deadlock detected due to WebView API being called on incorrect thread while the UI thread is blocked. at tE.d(HwWebview-12.1.2.322.4696:6) at com.android.webview.chromium.WebViewChromium.onCheckIsTextEditor(HwWebview-12.1.2.322.4696:4) at android.webkit.WebView.onCheckIsTextEditor(WebView.java:3277) at android.view.inputmethod.InputMethodManager.getStartInputFlags(InputMethodManager.java:2294) at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:2098) at android.view.inputmethod.InputMethodManager$DelegateImpl.startInput(InputMethodManager.java:654) at android.view.ImeFocusController.checkFocus(ImeFocusController.java:206) at android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:2307) at android.view.inputmethod.InputMethodManager.showSoftInput(InputMethodManager.java:1777) at android.view.inputmethod.InputMethodManager.toggleSoftInput(InputMethodManager.java:2000) at io.dcloud.common.adapter.util.DeviceInfo$3.run(Unknown Source:6) at java.util.TimerThread.mainLoop(Timer.java:562) at java.util.TimerThread.run(Timer.java:512) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.FutureTask.get(FutureTask.java:206) at tE.d(HwWebview-12.1.2.322.4696:4) ... 12 more

    2023-09-06 17:38

wwwzzz

wwwzzz

楼主找到原因了吗

要回复问题请先登录注册