Adding cocos2d-x to an existing Android project

I have an Android project, and I would like to add the cocos2d-x Android library to it. Regarding the documentation / online resources, it seems that this simply cannot be easy, and you need to use their android project as these instructions in detail. This creates a rather odd file hierarchy where cocos2d-x is in the root and application-specific files are in the back of this folder. For consistency and alignment, I would like to place the cocos2d-x library in a third-party library folder and enable and use it.

Someone managed to add the cocos2d-x library to an existing Android project. If so, some steps would be greatly appreciated.

Thanks!

+4
source share
1 answer

Looks like this is what you are looking for. At least a good start. http://jpsarda.tumblr.com/post/26000816688/integrate-cocos2d-xc-into-an-android-application

+3
source

Source: https://habr.com/ru/post/1437299/


All Articles