非必现
- 发布:2023-02-23 16:47
- 更新:2023-07-04 14:17
- 阅读:223
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 无
HBuilderX类型: 正式
HBuilderX版本号: 3.5.3
手机系统: Android
手机系统版本号: Android 12
手机厂商: 小米
手机机型: redmi note 11t pro
页面类型: vue
vue版本: vue2
打包方式: 离线
项目创建方式: HBuilderX
操作步骤:
预期结果:
不闪退
不闪退
实际结果:
闪退
闪退
bug描述:
安卓版本13
[2023-02-23 14:31:01,415][Timer-10][ERROR][cn.com.ruijie.rcd.uws.CrashHandler:61] 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:2503)
at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:2277)
at android.view.inputmethod.InputMethodManager$DelegateImpl.startInput(InputMethodManager.java:673)
at android.view.ImeFocusController.checkFocus(ImeFocusController.java:174)
at android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:2519)
at android.view.inputmethod.InputMethodManager.showSoftInput(InputMethodManager.java:1876)
at android.view.inputmethod.InputMethodManager.toggleSoftInput(InputMethodManager.java:2138)
at io.dcloud.common.adapter.util.DeviceInfo$2.run(SourceFile:3)
at java.util.TimerThread.mainLoop(Timer.java:563)
at java.util.TimerThread.run(Timer.java:513)
at Android.MODEL(22041216C)
at Android.VERSION(13)
at Android.FINGERPRINT(Redmi/xaga/xaga:13/TP1A.220624.014/V14.0.2.0.TLOCNXM:user/release-keys)
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask.get(FutureTask.java:204)
at uH0.c(chromium-TrichromeWebViewGoogle6432.apk-stable-511209734:73)
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:2503)
at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:2277)
at android.view.inputmethod.InputMethodManager$DelegateImpl.startInput(InputMethodManager.java:673)
at android.view.ImeFocusController.checkFocus(ImeFocusController.java:174)
at android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:2519)
at android.view.inputmethod.InputMethodManager.showSoftInput(InputMethodManager.java:1876)
at android.view.inputmethod.InputMethodManager.toggleSoftInput(InputMethodManager.java:2138)
at io.dcloud.common.adapter.util.DeviceInfo$2.run(SourceFile:3)
at java.util.TimerThread.mainLoop(Timer.java:563)
at java.util.TimerThread.run(Timer.java:513)
2 个回复
d***@qq.com
请问这个问题有解决吗?Vivo PAD上也遇到了类似的情况。
Diligent_UI - 【插件开发】【专治疑难杂症】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=193663(微信搜索飘逸科技UI小程序直接体验)】【骗子请绕道】问题咨询请加QQ群:120594820,代表作灵感实用工具小程序
能具体描述问题吗,提供效果截图和代码截图可以高效率解决问题