1. 需要下载ant,ant需要的文件:
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. 须要安装git bash
3. 须要安装node.js
4.须要JDK及环境变量配置
5.须要ADT及环境变量配置
6. 详情请细致看cordova官网
7.相关环境变量:
ANT_HOME
F:apache-ant-1.9.4
CLASS_PATH
.
JAVA_HOME
C:Program FilesJavajdk1.7.0_51
PATH
F:Android1adt-bundle-windows-x86_64-20140702sdkplatform-tools;F:Android1adt-bundle-windows-x86_64-20140702sdk ools;%ANT_HOME%in;C:Program Files
odejs;%JAVA_HOME%in;C:UserslenovoAppDataRoaming
pm
版权声明:本文博主原创文章。博客,未经同意不得转载。