Hi to all
Android Ndk and in Android programming is not in my primary competence, so I have to ask.
I have a cocos2d-x C++ based game which runs smoothly on Windows. Now I want to build it for Android. The problem is that I use external static libraries (*.lib in windows) files, which need to be linked in executable. I successfully built those libraries for android. Now I have shared *.so file and *.a files for different archs (see below). So far so good.
But after long researches, tries & errors, and still cannot understand how to link my cocos2d project against upper mentioned libs (static or shared).
Let me show you some screen shots.
This is my build of svgren lib as single shared library for different archs:
This is my build of svgren lib as separated static libs (dependencies) for different archs:
This is how my project look in android studio. Includes for the libs are not shown.
As a result configuration compile tasks completed successfully, but during linking process I got unresolved references, of course.