Skip to content Skip to sidebar Skip to footer

Cordova.exec Causing Problems In My Android Project

I have a Worklight project (a hybrid app) that I'm trying to deploy to Android. At the moment, it has a cordova plugin which is uses for PhoneGap stuff. My project isn't currently

Solution 1:

What version of Worklight are you using? Do you have your android application the cordova.js file?

{YOUR_PROJECT}\apps{YOUR_APPLICATION}\android\native\assets\www\default\wlclient\js\cordova.js

and

{YOUR_PROJECT}\apps{YOUR_APPLICATION}\android\native\libs\cordova.jar and

{YOUR_PROJECT}\apps{YOUR_APPLICATION}\android\native\libs\worklight-android.jar

If you have no native code in the Android environnement, delete the native folder {YOUR_PROJECT}\apps{YOUR_APPLICATION}\android\native

and build the application again.

Post a Comment for "Cordova.exec Causing Problems In My Android Project"