Meteor Cordova Android设备在5秒钟后仍未启动

时间:2017-01-25 02:54:12

标签: cordova meteor plugins

当我在Android上运行我的meteor cordova应用程序时,需要很长时间才能启动。启动屏幕在屏幕上停留至少7秒,我得到了 错误:

  

I20170120-15:42:58.835(-8)(cordova.js:1185)deviceready尚未解雇   5秒后。 I20170120-15:42:58.836(-8)(cordova.js:1178)频道   没有被解雇:onDOMContentLoaded

由于这是埋在流星中的科尔多瓦,我没有其他一些帖子所建议的选项。我尝试了以下方面的想法:

Android: Deviceready has not fired after 5 seconds

https://github.com/AppGyver/steroids/issues/772

(我不能发帖)

但尚未取得积极成果。这仍然是Meteor的一个问题吗?我正在使用Meteor版本1.4.2.3。

插件列表(已移除包名称)为:

"installed_plugins": {
    "cordova-plugin-console": {
    },
    "cordova-plugin-device": {
    },
    "cordova-plugin-meteor-webapp": {
    },
    "cordova-plugin-splashscreen": {
    },
    "cordova-plugin-statusbar": {
    },
    "cordova-plugin-whitelist": {
    },
    "cordova-plugin-wkwebview-engine": {
    },
    "phonegap-plugin-push": {
    }
},

实际错误:

  

I20170124-18:15:24.365(-8)(android:// localhost:12936 / cordova.js:1185)   5秒后,deviceready没有开火。 I20170124-18:15:24.368(-8)   (android:// localhost:12936 / cordova.js:1178)频道未被解雇:   onDOMContentLoaded

在Android设备上运行:

  

I20170124-18:15:20.053(-8)? INFO onConnection:   192.168.0.225:Mozilla/5.0(Linux; Android 5.1.1; SAMSUNG-SM-T337A Build / LMY47X; wv)AppleWebKit / 537.36(KHTML,类似Gecko)版本/ 4.0   Chrome / 55.0.2883.91 Safari / 537.36

我已根据某些帖子中的建议删除并重新添加了插件平台,但未能解决此问题。关于这个问题有很多帖子,但它们不适用,或者只是不适合我。

不知道接下来要做什么,已经在这里插了几天,转圈圈。

PS:我的包裹清单是:

Meteor 1.4.2.3
(18:21 krivacic@littlezip app) > meteor list
accolver:twilio-meteor         1.10.1  Twilio API Wrapper for Meteor
accounts-password              1.3.3  Password support for accounts
accounts-ui                    1.1.9  Simple templates to add login widgets to an app
alanning:roles                 1.2.15  Authorization package for Meteor
aldeed:collection2             2.10.0  Automatic validation of insert and update operations on the client and server.
aldeed:simple-schema           1.5.3  A simple schema validation object with reactivity. Used by collection2 and autoform.
andrasph:clockpicker           0.0.2  Clockpicker (v0.0.6), a clock-style timepicker for Bootstrap, from Wang Shenwei
arillo:flow-router-helpers     0.5.2  Template helpers for flow-router
cordova:cordova-plugin-device  1.1.4
dburles:factory                1.1.0  Factories for Meteor
ecmascript                     0.6.1  Compiler plugin that supports ES2015+ in all .js files
es5-shim                       4.6.15  Shims and polyfills to improve ECMAScript 5 support
harrison:papa-parse            1.1.1  A powerful, in-browser CSV parser for big boys and girls
http                           1.2.10  Make HTTP calls to remote servers
jplack:bootstrap-timepicker    0.2.2  Bootstrap 3 timepicker for Meteor.
kadira:blaze-layout            2.3.0  Layout Manager for Blaze (works well with FlowRouter)
kadira:flow-router             2.12.1  Carefully Designed Client Side Router for Meteor
lookback:emoji                 0.3.1  Easily render and manage emojis in Meteor.
matb33:collection-hooks        0.8.4  Extends Mongo.Collection with before/after hooks for insert/update/remove/find/findOne
mikowals:batch-insert          1.1.14  Insert multiple documents to mongo collection with one db call.
percolate:synced-cron          1.3.2  Allows you to define and run scheduled jobs across multiple servers.
practicalmeteor:chai           2.1.0_1  The Chai Assertion Library, v2.1.0
practicalmeteor:faker          3.0.1_1  Generate massive amounts of fake data in node.js and in the browser.
practicalmeteor:mocha          2.4.5_6  Write package tests with mocha and run them in the browser or from the command line with spacejam.
practicalmeteor:sinon          1.14.1_2  Standalone test spies, stubs and mocks for JavaScript.
raix:push                      3.0.2  Isomorphic Push notifications for APN and GCM
reactive-dict                  1.1.8  Reactive dictionary
remcoder:chronos               0.5.0  Reactive time utilities. Includes reactive replacements for new Date(), Date.now() and moment()
shell-server                   0.2.1  Server-side component of the `meteor shell` command.
simple:json-routes             2.1.0  The simplest way to define server-side routes that return JSON
standard-app-packages          1.0.9  Moved to meteor-platform
standard-minifier-css          1.3.2  Standard css minifier used with Meteor apps by default.
standard-minifier-js           1.2.1  Standard javascript minifiers used with Meteor apps by default.
templates:tabs                 2.3.0  Reactive tabbed interfaces compatible with routing.
twbs:bootstrap                 3.3.6  The most popular front-end framework for developing responsive, mobile first projects on the web.
xolvio:cleaner                 0.3.1  Gives you methods to clear your Mongo database and collections for testing purposes

0 个答案:

没有答案