First play cocos2dx, a lot of forgive.
Feel the difference between the version is relatively large, relative to the previous version, 3.X is easier to get started, more convenient.
First, install Python. My python-2.7.3. Configuring Environment variables
System variable: Add D:\2013\python\Python27 in Path
Second, install Ant. My apache-ant-1.9.3. Configuring Environment variables
System variables: Create a new, Ant_home (D:\2013\ant\apache-ant-1.9.3), and add D:\2013\ant\apache-ant-1.9.3\bin in Path
User variables: Create a new, Ant_root (D:\2013\ant\apache-ant-1.9.3\bin)
Third, Cocos2dx 3.1.1.
Execute download-deps.py,setup.py in turn
Configure Ndk_root (D:\TOOL\android-ndk-r9d), Android_sdk_root (D:\TOOL\ANDROID-SDK), Ant_root (D:\2013\ant\ Apache-ant-1.9.3\bin)
Note The NDK version, write off the machine, and then execute the setup.py, a flash past, the configuration is good.
IV. Create a new project.
Cocos new-p com.xxx.simple-l cpp-d D:\2013\cocos2dx\projects simplegame
Five, compile