版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012691505/article/details/80123379
1.HTML中使用了 select标签
android 中对应的WebView创建是需要依赖于Activity即:
WebView webView=new WebView(Activity);正确
WebView webView=findViewById(R.id.xxx);正确
WebView webView=new WebView(getApplicationContext()); 错误
2.在重启该WebView页面不能点击
方法1:在onResume生命周期方法里添加 webView.resumeTimers()方法2:设置 setDomStorageEnabled(true)