1. Install CORDOVA:NPM install-g Cordova--registry=https://registry.npm.taobao.org
2. Create Cordova Project: Enter the working directory to execute Cordova create Hello Com.example.hello HelloWorld,
The first parameter, hello, specifies a directory name.
The second parameter Com.example.hello a C # namespace, or a Java package name.
The third parameter specifies the display caption for the application.
3. Add Android Support: Go to Engineering catalogue, execute Cordova platform add Android
4. Import the Eclipse project:
Launch Eclipse, right click on [Package Explore], select New, choose to create an Android project with existing code, select the project catalog that we want to import, in the Import Project window we will find two projects, one is the project we created, The other is the new Cordova class library
If an error occurs: He container ' Android Dependencies ' references non existing library ' D:\Dev-tool\xkcoa\platforms\android\ Cordovalib\bin\cordovalib.jar '
Copy the downloaded Cordovalib.jar to the Platforms\android\cordovalib\bin directory.
5. Access the test phone and compile the project mainactivity with Eclipse to run the test.
Cordova developing the Android app brief process