Note: The Crodova2.9 version will not be able to download the zip directly after installation, you need to install Nodejs first. The following is an example of Linux (Feoda 20)
First, install Nodejs $ sudo yum install Nodejs
Second, put the Cordova installed in the application/directory (Installation location arbitrary)
$ cd application/into the directory
$ NPM Install Cordova installation
Third, go back to the root directory configuration environment variables
$ cd ~
$ gedit. BASHRC
Export Path=/home/admin/application/node_modules/cordova/bin: $PATH
$ source. BASHRC
Iv. Viewing version information
$ Cordova--version
$ Cordova Help
V. Create an Android Project
$ CD downloads/
$ cordova Create./wecity
Vi. Integration of Cordova
$ CD wecity/
$ Cordova Platform Add Android
This integration is done
Vii. integration to complete the need to configure some of the Cordova plug-ins
$ CD wecity/
$./cordovaplugin.sh This is a script that is written by itself, the common settings are added in, run directly download the required plug-in (to download the resources)
After the plugin download is complete
Enter the/home/admin/downloads/wecity/platforms directory to find an Android project to import into eclipse
Then find Cordovalib under the/home/admin/downloads/wecity/platforms/android Android entry
Importing Cordovalib under Android projects is done with an integrated Cordova Android project (you need to right-click on the project to Build the path-->configure Bulid path-to the left menu bar Select Android-->library-->add Add Cordora)
Note: You may get an error when importing an Android project
Need to right-click on project to Build path-->configure Bulid path-->source-->add Folder join (turn source) Android/gen Android/src
Cordova3.6.3 download and install and create a consolidated Android project for Linux (Fedora 20)