Phonegap HTML应用程序和各种警报挂起浏览器 [英] Phonegap HTML app and various alerts hang browser

查看:134
本文介绍了Phonegap HTML应用程序和各种警报挂起浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当测试phonegap应用程序时,我得到以下三个警报,浏览器刚刚挂起。从服务器运行应用程序。很多时候,这些警报在Ripple插件可以启动之前弹出。如何删除这些。

When testing phonegap app, I get the following three alerts and the browser just hangs. Running app from server. Many times these alerts popup before the Ripple plugin can start. How do I remove these.

警报1:

gap:["Device","getDeviceInfo","Device818329805"]

警报2:

gap:["NetworkStatus","getConnectionInfo","NetworkStatus818329806"]

警报3:

gap:["App","show","App818329807"]


推荐答案

当您遇到错误的cordova时,通常会显示这些警报。 js文件。每个平台有不同的。确保你没有例如复制android一个到你的ios版本。

Those alerts normally show up when you have the wrong cordova.js file included. There are different ones for each platform. Make sure that you havn't for example copied the android one into your ios build.

这篇关于Phonegap HTML应用程序和各种警报挂起浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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