A
A
Alexey2015-01-31 16:11:44
phonegap
Alexey, 2015-01-31 16:11:44

Errors when running a project in Cordova/Phonegap?

The problem is this:
There is an index.html:

<script type="text/javascript" src="../platforms/android/assets/www/cordova.js"></script>
<!--JQuery Globalize-->
<script type="text/javascript" src="js/lib/globalize.js"></script>
<!--YASMF-->
<script type="text/javascript" src="js/lib/yasmf/yasmf.js"></script>

When you run this file in the browser, an alert occurs:
gap_init:2

Click on "Ok" and another alert:
[true]
gap:[null,"App","overrideBackbutton","App1966010284"]

Console output:
Infinite Loop (
processMessag failed: invalid message: " "
)
Question: How to fix it?
Linux Ubuntu 14.04,
cordovav. 4.2.0
phonegapv. 3.6.3-0.22.0

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-01-31
Protko @Fesor

1) replace cordova with something of your own for development in the browser (a bunch of solutions)
2) use ripple emulator

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question