本文介绍了流星+科尔多瓦 - " deviceready还没有解雇"在Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用AngularJS与流星产生的Andr​​oid应用程序,但在推出我看到以下日志:

I am trying to use AngularJS with Meteor generated Android app, but on launching I see the following logs:

I20150214-10:02:23.331(5.5)(机器人:meteor_cordova_loader.js:12)流星CORDOVA DEBUG(meteor_cordova_loader.js)错误读取文件版本错误:无法解析条目:文件:///数据/数据​​/ com.id5njc0uqfdxry1j5uk4s /文件/流星/版本
  I20150214-10:02:23.334(5.5)(机器人:meteor_cordova_loader.js:12)流星CORDOVA DEBUG(meteor_cordova_loader.js)无法从清单中加载,回落到捆绑的资产。
  I20150214-10:02:23.982(5.5)(机器人:meteor_cordova_loader.js:12)流星CORDOVA DEBUG(meteor_cordova_loader.js)从URL装载:
  I20150214-10:02:33.168(5.5)(Android版本:)deviceready 5秒钟后还没有解雇。
  I20150214-10:02:33.170(5.5)(Android版本:)通道未​​触发:onPluginsReady
  I20150214-10:02:33.171(5.5)(Android版本:)通道未​​触发:onCordovaReady
  I20150214-10:02:33.172(5.5)(Android版本:)通道没有被解雇:onDOMContentLoaded

和角度没有得到初始化。任何人都可以提出一个解决办法?

and angular does not get initialized. Can anyone suggest a workaround?

我已经开了Github的问题,这也

I've opened a Github issue for this as well #3711

该器件是一款三星GT S7392运行Android 4.1.2

The device is a Samsung GT S7392 running Android 4.1.2

推荐答案

有可能有很多原因,怎么可能会导致有点问题这一点。

There could be many reason how may cause this kinda of issue.

看起来像旧的设备运行Android可能是一个问题就来看看这个 GitHub的问题

Seems like running android on old devices can be a problem take a look into this GitHub Issue

林pretty确保 deviceready 5秒后还没有解雇它有点警告信息。

Im pretty sure that deviceready has not fired after 5 secondsits kinda a warning message.

检查你有多少包安装的应用程序。

Check how many packages you have installed on the app.

您物理性设备上运行?亚行或?

Are you running on Phisical device? or adb?

尝试 - 详细选项,并在这里把日志

Try with --verbose option to and put the logs here.

像这样

meteor run android-device --mobile-server=your-url-app --verbose

告诉我,如果作品

Tell me if works

这篇关于流星+科尔多瓦 - " deviceready还没有解雇"在Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

查看更多