Pantalla de alerta en el código de construcción de Android en phonegap

I am getting a alert in starting in emulator using phone gap technology in android.

"Exception building coredova js globals: ReferenceError: can't find variable: org for key"exec".

actually i don't understand why this come.same code works on blackberry.

por favor ayuda

preguntado el 25 de agosto de 12 a las 02:08

2 Respuestas

the cordova.js for blackberry and android is different. Replace your coredova.js file with the corresponding js for android.

Respondido 27 ago 12, 08:08

thanks @AnhSirk...

I hv also done that stupid mistake...copy the same "cordova.js" file for blackberry into android project.... and receiving the same Alert message -

Exception building cordova JS globals: Reference: org is not defined for key “exec”

By Replacing with "cordova.js" file for Android, Problem get solved.

Thanks, Rajani Dhawan

Respondido 31 ago 12, 08:08

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.