Android:5秒钟后未启动Deviceready [英] Android: Deviceready has not fired after 5 seconds

查看:513
本文介绍了Android:5秒钟后未启动Deviceready的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将Cordova更新为v6.4.0,并将Android平台更新为6.0.0之后,我的应用程序无法再使用了.我得到这个:

After update Cordova to v6.4.0 and Android platform to 6.0.0, my app don't work any more. I'm getting this:

deviceready has not fired after 5 seconds. cordova.js:1223
Channel not fired: onCordovaInfoReady cordova.js:1216
Channel not fired: onCordovaConnectionReady cordova.js:1216

我试图删除所有插件,并将其一个接一个地添加.我发现这是cordova-plugin-device和cordova-plugin-network-information的问题.我所有的插件都是最新的

I tried to remove all plugins and add it one by one. I found that is a problem with cordova-plugin-device and cordova-plugin-network-information. All my plugins are up to date

推荐答案

如果您恰巧在应用程序中运行Crosswalk插件,我只是确认要卸载并通过以下方式重新安装;

If you happen to be running the Crosswalk plugin in your app I just confirmed that uninstalling it and reinstalling via;

cordova plugin add https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview

摆脱

deviceready has not fired after 5 seconds. cordova.js:1223 Channel not fired: onCordovaInfoReady cordova.js:1216 Channel not fired: onCordovaConnectionReady cordova.js:1216

deviceready has not fired after 5 seconds. cordova.js:1223 Channel not fired: onCordovaInfoReady cordova.js:1216 Channel not fired: onCordovaConnectionReady cordova.js:1216

您可以在此处的Crosswalk的Jira问题列表中看到该问题.

You can see the issue at Crosswalk's Jira issue listing here.

https://crosswalk-project.org/jira/browse/XWALK-7422

这篇关于Android:5秒钟后未启动Deviceready的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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