Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cordova.js is missing on a new project

Tags:

cordova

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?

like image 789
Dougui Avatar asked Oct 08 '13 12:10

Dougui


People also ask

Which folder contains Cordova js?

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.

Which folder contains Cordova js in PhoneGap?

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.

What is Android cordova?

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).


1 Answers

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.

like image 147
Anthony Elliott Avatar answered Sep 28 '22 01:09

Anthony Elliott