开发人员工具不会加载资源

时间:2017-03-09 10:50:57

标签: ionic2

当我将我的离子项目运行到我的移动设备时,它运行良好,当我打开开发人员工具时,它很好。

我可以在我的开发人员工具窗口中查看所有控制台语句,现在当我再次运行它时,应用程序在浏览器和我的手机中运行良好,我无法看到任何控制台声明。

我得到的是

device ready has not fired after 5 seconds.
cordova.js:1223
Failed to load resource
file:///android_asset/www/build/index.js.map 

有人可以帮助我查看我的控制台声明

1 个答案:

答案 0 :(得分:0)

这应该在cordova-android 6.1.0中修复。它尚未添加到npm-registry中,因此您可以将它放在config.xml中来使用它:

<engine name="android" spec="https://github.com/apache/cordova-android.git#6.1.0"/>