Cordova.js is missing from the new project

I have a new installation of cordova3.1.0-0.1.0. I am creating such a project cordova create project com.example.project Project . The project is created in the / www project, but the cordova.js is missing file cordova.js is missing .

I am working on Windows XP, node 0.10.20 and npm 1.3.11.

Did I miss something?

+42
cordova
08 Oct '13 at 12:11
source share
3 answers

No, all is well. Cordova.js will be generated when creating a specific platform (i.e. cordova build android ). So it will be in your project / platform / android / assets / www / folder, but not in your project / www / folder.

+78
Oct 08 '13 at 18:03
source share

I needed to change the build target from standard Android (Active) to simple Android in the drop-down menu, and then generated the file and built perfectly. This seems like an initialization issue with Visual Studio 2017.

0
19 Oct '17 at 20:14
source share

Try cd in the directory and create the web version:

 cordova plugin add cordova-plugin-inappbrowser 
-2
Apr 20 '16 at 13:38 on
source share



All Articles