I am trying the "PhoneGap" (1.7.0) jQuery Mobile application (1.1.0). I need to create an android app. However, I continue to receive the following warning message.
ERROR: Attempting to call cordova.exec() before 'deviceready'. Ignoring.
It seems that I am changing the pages (change e.g. index.1.htm to index.2.htm)
I do not call Cordoba functions in my application - this is pure JQM.
Any ideas what the problem is. Or, otherwise, does anyone know why cordova.exec () can be called during a $ .ajax request?
I am running an application under Android 4.0.3 in a virtual device / simulator. Also try running the Android 2.1 and 2.33 simulator, getting the same error!
source
share