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

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

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

1.MainApplication onCreate方法中,设置WebView.setWebContentsDebuggingEnabled(true);
2.浏览器中输入:chrome://inspect/#devices
3.webview中打开需要调试的页面,在chrome中找到该页面inspect进入调试,如果一直显示404,请翻墙后再试!
本文标题:chrome调试android webview
本文链接:https://www.haomeiwen.com/subject/ztioghtx.html
网友评论