Reputation: 557
I have installed cordova-3.0.0 and trying to run a demo sample with phonegap But when i try to run the application i got following error in my logcat
E/Web Console(12299): Uncaught module cordova/urlutil not found at file:///android_asset/www/cordova.js:56
I am confused where should i start debugging , where might the exact problem located ,I have installed all the plugin to make sure that i haven't missed any of them .
$cordova plugin ls
[ 'com.phonegap.plugins.bluetooth',
'org.apache.cordova.battery-status',
'org.apache.cordova.camera',
'org.apache.cordova.console',
'org.apache.cordova.contacts',
'org.apache.cordova.device',
'org.apache.cordova.device-motion',
'org.apache.cordova.device-orientation',
'org.apache.cordova.dialogs',
'org.apache.cordova.file',
'org.apache.cordova.file-transfer',
'org.apache.cordova.geolocation',
'org.apache.cordova.globalization',
'org.apache.cordova.inappbrowser',
'org.apache.cordova.media',
'org.apache.cordova.media-capture',
'org.apache.cordova.network-information',
'org.apache.cordova.splashscreen',
'org.apache.cordova.vibration' ]
In my AndroidMenifest.xml I have declared
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" />
I am compiling my project in eclipse using Android-4.2.2 Can any one help me figure out how to solve this ?
Upvotes: 0
Views: 2307
Reputation: 557
I could not solve this problem , so i re-installed my cordova installation :(
npm uninstall -g cordova
npm install -g cordova
Upvotes: 1