cordova.js phonegap.js -
Phone Gap / Cordova

cordova.js phonegap.js

www compiler naitve



js plugin naitve

:

:
<script type="text/javascript" src="cordova.js"></script>
:

:
<script type="text/javascript" src="phonegap.js"></script>
index.html

cordova.js phonegap.js

, cordova.js www
app1\platforms\android\platform_www
build apk


platform_www

www platform cordova.js

:
app1\platforms\android\platform_www

apk app1\www app1\platforms\android\platform_www

helps to link b/w native code and html page. In detail, It gets the request from client, if some native function is called then it will be send to cordova.js. This will forward it to native code.
if you want to avoid these errors goto /platforms folder. after building the project all your files and a copy of cordova.js are there. if you open your applications main page form that folder you wont get file not found error.
When you run cordova platform add android and then cordova build android, you should get a cordova.js added project/platforms/android/assets/www folders. You don't need to add it in your js files. so, just declare it in index.js file as follows,
:

https://stackoverflow.com/questions/...dova-js-to-use
https://stackoverflow.com/questions/...dova-js-errors
https://stackoverflow.com/questions/...d-in-ionic-app