文章仅做个人笔记使用:
需要在代码中配置: WebView.setWebContentsDebuggingEnabled(true); //支持debug调试
inspect 出现空白页,是因为chrome的配置文件没有配置成功,需要链接外网配置。
如果外网配置后依然无法使用,需要配置host
如下:
172.217.161.180 author-dot-betaspike.appspot.com
172.217.161.180 jmoore-dot-android-experiments.appspot.com
172.217.161.180 mission-author-dot-betaspike.appspot.com
172.217.161.180 drivenotepad.appspot.com
172.217.161.180 virustotalcloud.appspot.com
172.217.161.180 joinjoaomgcd.appspot.com
172.217.161.180 m-dot-betaspike.appspot.com
172.217.161.180 download-chromium.appspot.com
172.217.161.180 google-developers.appspot.com
172.217.161.180 chrometophone.appspot.com
172.217.161.180 chrome-devtools-frontend.appspot.com
172.217.161.180 apis-explorer.appspot.com
172.217.161.180 betaspike.appspot.com
172.217.161.180 hstspreload.appspot.com
172.217.161.180 lfe-alpo-gm.appspot.com
172.217.8.244 netlog-viewer.appspot.com
172.217.14.116 go-tour-zh.appspot.com