Cocos2d-x v3 C++ Tutorial 3 - Setting Up For Android On Windows
Why Stack Overflow recommends it
Stack Overflow users link it when answering questions about getting Cocos2d-x environment variables and Android builds working on Windows.
Recommended by 1 people across 1 different months, 2014 to 2015.
What it is
A 12-minute Cocos2d-x v3 C++ tutorial from Sonar Systems showing how to set up the Android toolchain on Windows. It covers installing the Android SDK, NDK, Apache Ant and Python, and configuring Cocos2d-x environment variables so projects can build for Android.
What people said
Recommends Joseph · 2015-10 · Stack Overflow · on “How to build cpp-templates for Cocos2d-X-3.8.1 with Visual Studio 2013?”
You don't just download and extract there is more to do then just that you need to setup cocos2d-x environment variables first then run your projects and here is a you-tube tutorial that shows you how to: [this video] after you do all the steps in the video just open cocos2d-win32.sln and run it and it will automatically builds(takes a minute or tow) then runs. PS: VS 2013 or 2015 both should work ... i myself using cc2d 3.8 with VS2013update5 and it all works fine.
Cites lino · 2014-05 · Stack Overflow · on “RUN Cocos2d-x Projects in linux”
I am using eclipse, but the virtual machine that comes with android SDK is very slow so I am using genymotion, but you should notice that you can not run cocos2d-x projects on genymotion by default! bedause genymotion do not add ARM and x86 artitecture automatically. check here to solve this problem ( [LINK] ). and if you want to use cocos2d-x on windows check this ( [this video] )
Cites Androidizing · 2014-10 · Stack Overflow · on “Can't build project of Cocos2d-x on windows 8”
I followed the instruction from this tutorial [this video] . No errors occured during the setup but when importing to Eclipse, my project got a little red cross => can't build project. I tried to go through every folder in my project but I can't find any other errors. See this image [LINK] . I did move everything to C drive but... nothing better. Any helps would be highly appreciated :) FYI: Cocos v3.2, Python 2.7.8, Apache ANT 1.9.4. NDK: r9 win 64