Why does Android OS 8 WebVew with HTML select tag crash the app

前端 未结 9 2622
傲寒
傲寒 2020-12-15 20:24

I\'ve got a hybrid Cordova Android app, and the app crashes when user tap on a drop-down box in my WebView running on Android OS 8. I\'ve created a simple page

9条回答
  •  盖世英雄少女心
    2020-12-15 21:14

    I digged into crash logs. Though this answer does not solve your problem, you might get some useful insights

    • Webiview uses this layout file select_dialog_singlechoice.xml for inflating Spinner item using ArrayAdaper
    • You are getting Resource not found Exception from here
    • It means that Your Webview is not able to locate this resource file when you click on select tag

    I am not sure why it's happening on Android 8.0,i was not able to reproduce this on Android 8.0 emulator though

提交回复
热议问题