美文网首页
chrome调试android webview

chrome调试android webview

作者: yihuanbingo | 来源:发表于2020-05-07 14:44 被阅读0次

1.MainApplication onCreate方法中,设置WebView.setWebContentsDebuggingEnabled(true);

image.png

2.浏览器中输入:chrome://inspect/#devices

image.png

3.webview中打开需要调试的页面,在chrome中找到该页面inspect进入调试,如果一直显示404,请翻墙后再试!

image.png

相关文章

网友评论

      本文标题:chrome调试android webview

      本文链接:https://www.haomeiwen.com/subject/ztioghtx.html