1. You need to download ant and ant files:
Build. xml
<?xml version="1.0" ?><project name ="antPro" default ="getBaseDir" basedir ="F:/antbuild"><target name="getBaseDir"><echo message="The base dir is: ${basedir}"/></target></project>
2. Install git bash
3. Install node. js
4. JDK and environment variable configurations are required.
5. ADT and environment variable configurations are required.
6. For more information, see the official Cordova website.
7. Related environment variables:
Ant_home
F:/Apache-ant-1.9.4
Class_path
.
Java_home
C: \ Program Files \ Java \ jdk1.7.0 _ 51
Path
F: \ android1 \ adt-bundle-windows-x86_64-20140702 \ SDK \ platform-tools; F: \ android1 \ adt-bundle-windows-x86_64-20140702 \ SDK \ tools; % ant_home % \ bin; C: \ Program Files \ nodejs; % java_home % \ bin; C: \ Users \ Lenovo \ appdata \ roaming \ NPM
Cordova usage experience