first, pre-preparation
1. Download the JDK installation directly (the installation path cannot appear in Chinese )
Click Next to appear halfwayJava Installation: Follow the installation tips to complete the JDK installation2. SDK, Ant,and NDK just unzip to the specified directoryafter the download directly to the designated directory can be, under my decompression image:Setting the environment variable ( Note is set in the system environment ) 1. New environment variablendk_root:d:\android-ndk-r9c
Android_sdk_root:d:\adt-bundle-windows-x86_64-20131030\sdk
ant_root:d:\apache-ant-1.9.3
Java_home:c:\program files\java\jdk1.7.0_51
2. Add a variable after path ( separated by a semicolon between the variables). %ant_root%\bin--followed by a bin section note )
%ant_root%\bin;%ndk_root%; Android_sdk_root%\tools;%java_home%
3. Verify that Java and Ant are successful:
Open dos: (CMD)
Enter Ant and Java-version, as shown, then success:
From for notes (Wiz)
Wan Hang Road First step: 1, Cocos2d-js of the jdkadk,sdk,apaceant installation and environment variable settings