javascript - Updated to cordova-android4.0.0..now getting error even when creating new projects -


i updated cordova/phonegap project latest (cordova 5.0.0,) , i'm getting following error:

cordova error

even when create brand new cordova project using

$ cordova create hello com.example.hello helloworld

the error appears in new project well.

i'm referencing following 1 time in project , if remove it, error disappear, events no longer work (i.e. ondeviceready, etc)

<script type="text/javascript" charset="utf-8" src="cordova.js"></script>

the error coming line 104 in cordova file, following:

// file: src/cordova.js define("cordova", function(require, exports, module) {  if ("cordova" in window) { throw new error("cordova defined"); }; 

another note: downgraded project android 3.7.1 , works fine

any appreciated. please let me know if need more info


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -