开发人员工具不会加载资源 [英] developer tools does not loads resources

查看:101
本文介绍了开发人员工具不会加载资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将我的离子项目运行到我的手机时,它运行良好,当我打开开发人员工具时没关系。

When I run my ionic project to my mobile it was working good, and when I open developer tools it's fine.

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

I could able to view all console statement in my developer tool window, now when I run it again app runs well in the browser and in my mobile , I am not able to see any console statement.

我得到了什么是

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

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

could someone help me to view my console statements

推荐答案

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

This should be fixed in cordova-android 6.1.0. It has not been added to the npm-registry yet, so you can use it by placing this to your config.xml:

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

这篇关于开发人员工具不会加载资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆