1. Download the Android SDK and set the environment variable Android_sdk_root
For example: C:\ANDROID\ADT\SDK
2. Download NDK, set up environment variables, mainly android_ndk_root
For example: C:\android\adt\android-ndk-r10d
3. Install the Java environment and set the JAVA_HOME environment variable
For example: C:\Program Files (x86) \java\jdk1.7.0_40
Path environment variable increased%java_home%\bin
4. Running Build_native.bat
5. May appear: Error:c:\android\adt\sdk/platforms/android-19/android.jar not found! problem
Workaround:
Modify the/quick/bin/lib/build_apk.php in the Quick cocos2dx directory to change $config[' api_ver ' = that number to the maximum number corresponding to your Android SDK, such as 18
6. Run Build_apk.bat, the generated apk should be in a sibling directory, such as tl-20150609-111540.apk
Quick-cocos2d-x how to compile the Android version under Windows