【问题标题】:Chrome inspect android emulator does not workChrome 检查 android 模拟器不起作用
【发布时间】:2019-03-04 00:48:51
【问题描述】:

我正在尝试在 android 模拟器中检查我的 web 视图应用程序。 Chrome 在 chrome://inspect 中列出了该应用程序,但当我按下 Inspect 链接时它没有显示任何内容。 Inspector 不适用于任何应用程序或浏览器,Inspector 在我的真实设备上运行良好。

我是 Mac 用户。模拟器调试设置已打开。 任何想法??

【问题讨论】:

    标签: android emulation inspect


    【解决方案1】:

    你在你的代码中打开调试了吗?

    webView.setWebContentsDebuggingEnabled(true);
    

    【讨论】:

    • 您好,alei,感谢您的回答。我的项目是一个 Ionic 应用程序,Chrome 检查器在我的真实设备上运行良好。问题只出在模拟器上。
    猜你喜欢
    • 2021-01-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-06-13
    • 2014-01-06
    • 1970-01-01
    • 1970-01-01
    • 2015-01-09
    相关资源
    最近更新 更多