Android remote debug cannot find webview?

2019-09-05 16:08发布

问题:

I'm following https://developers.google.com/web/tools/chrome-devtools/remote-debugging/ to debug a Cordova/ionic app. However, the following screen doesn't show the webview page? Are these error message relevant? Why the webview cannot be shown?

I closed all the chrome tabs. It will show the chrome pages if not closed.

回答1:

try to set your webcontentdebuggingenabled like this mWebview.setWebContentsDebuggingEnabled(true)