Cocos2d-2.0-x-2.0.3 + android-ndk-r8c + eclipse-win7 in eclipse (4.2.1) underground with ndk compilation, do not need cygwin for compilation
Reference: http://codingnow.cn/cocos2d-x/916.html
Http://codingnow.cn/cocos2d-x/706.html
This is roughly the same as the reference article. It is only because of some minor issues that have been entangled for one night. I have organized this article. I am not too tired and I am too lazy, I do not like to do useless work.
Under the cocos2d-2.0-x-2.0.3 \ samples \ testcpp directory, copy the classes file to proj. android, and then copy the resources in resources to proj. in the assets file of the android file, in addition, the proj. five compressed package files in Android/assets/images will be deleted (if not deleted, an error will be prompted during running. delete the files.) After the files are ready, follow the previous reference article, there is no problem. I have never tried other versions. If you have any questions, don't ask me. I don't know either. The following figure shows the effect after running.
.