I have a brand new install of cordova3.1.0-0.1.0. I create a project like this cordova create project com.example.project Project
. The project is created under the project/www but the file cordova.js is missing
.
I'm working on windows XP, node 0.10.20 and npm 1.3.11.
Did I missing something?
So use the files under %ROOT_DIR%\platforms\<your_platform> instead. See this question as well. The important thing for me was putting the <script src="cordova. js"></script> in the head area of the index.
You can create your own custom interface or use one of pre-compiled plugins. "www" directory- Contains the PhoneGap/Cordova structure and some standard js and css files. config. xml file- This file contains meta data for controlling common features of your apps like the app title, description and author.
Cordova Android is an Android application library that allows for Cordova-based projects to be built for the Android Platform. Cordova based applications are, at the core, applications written with web technology: HTML, CSS and JavaScript. Apache Cordova is a project of The Apache Software Foundation (ASF).
No, you're all good. Cordova.js will be generated when you build a specific platform (i.e. cordova build android
). So it will be in your project/platforms/android/assets/www/ folder but not your project/www/ folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With