Cordova not running normally

可紊 提交于 2019-12-22 11:09:04

问题


The problem is:

I have index.html with this code:

<script type="text/javascript" src="../platforms/android/assets/www/cordova.js">

When I run this file in a browser, there is alert:

gap_init:2

Click "Ok" and I have second alert:

[true] gap:[null,"App","overrideBackbutton","App1966010284"]

In my console output I have: Endless loop

processMessag failed: invalid message: " "

Question: How I can fix this?

Linux Ubuntu 14.04, cordova v. 4.2.0, phonegap v. 3.6.3-0.22.0

Thank you!

来源:https://stackoverflow.com/questions/28256021/cordova-not-running-normally

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!