gpt4 book ai didi

android - 在webview android中输入焦点时崩溃

转载 作者:行者123 更新时间:2023-12-04 23:45:26 26 4
gpt4 key购买 nike

第一次在 webview 中成功登录我的网站,但是当焦点输入用户名时,第二次登录崩溃应用程序,这是崩溃时的错误:

W/ResourceType: Invalid package identifier when getting bag for resource number 0x02080003
Invalid package identifier when getting bag for resource number 0x02080003
W/System.err: java.lang.NullPointerException: Atteenter code herempt to invoke virtual method 'boolean android.graphics.drawable.Drawable.getPadding(android.graphics.Rect)' on a null object reference
at org.chromium.ui.DropdownPopupWindow.<init>(DropdownPopupWindow.java:80)
at org.chromium.ui.autofill.AutofillPopup.<init>(AutofillPopup.java:48)
at org.chromium.android_webview.AwAutofillClient.showAutofillPopup(AwAutofillClient.java:50)
at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:37)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5637)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
A/chromium: [FATAL:jni_android.cc(249)] Check failed: false. Please include Java exception stack in crash report
W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
Chrome build fingerprint:
1.0
1
45012863-7d3b-4c30-8ccf-e65394c57d85
### ### ### ### ### ### ### ### ### ### ### ### ###
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 9115 (ir.aysan.bis)
Process 9115 terminated.

最佳答案

这是在 android 5.0\5.1 上发生的 WebView 崩溃,
试试 关闭文本自动完成

 <input type="text" name="symbols" autocomplete="off" />
快乐的编码......

关于android - 在webview android中输入焦点时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59955175/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com