-
First of all, Android is based on the Java language, so install the Java Runtime Environment first Install javajdk to download JAVAJDK installation configuration Java environment variable detailed Baidu a lot of
Please refer to http://jingyan.baidu.com/article/ 6dad5075d1dc40a123e36ea3.html
-
Download Android SDK http://tools.android-studio.org/index.php/sdk Unzip to your specified Android environment such as e:\androidenviron
-
Download Android ndk NDK version is a lot of attention, such as if you use the cocos3.3 before the low version is not support andoird5.0 the first time you are prompted to download the latest version on the line here download ndkr10d extract to E:\AndroidEnviron
-
Download ant http/ ant.apache.org/bindownload.cgi Download bin version Oh same to unzip to E:\AndroidEnviron
-
Download install Python 2.7.61 Way Default
- p> Configure the ANDROID environment variable to find the environment variable inside the user variable to add ANDROID_SDK_ROOT:E:\ANDROIDENVIRON\ADT-BUNDLE-WINDOWS-X86_64-20131030\SDK (SDK root directory) Ant_root:e:\androidenviron\apache-ant-1.9.6\bin (ANT root directory) ndk_root:e:\androidenviron\ Android-ndk-r10 (NDK directory)
-
So the environment is ready. Let's restart the computer and create a cocos2d-x project.
This article is from the "Dongprogrammer" blog, make sure to keep this source http://dongprogrammer.blog.51cto.com/4630442/1726641
Cocos2d-x Android Environment Building summary