简体   繁体   中英

Uncaught module cordova/urlutil not found at file:///android_asset/www/cordova.js:56 in cordova-3.0.0

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 ?

I could not solve this problem , so i re-installed my cordova installation :(

npm uninstall -g cordova
npm install -g cordova

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM