Or, stand alone lib is necessary?
Following the readme for android, SDL is included in the android project as source code.
Has to be compiled each time.
As I am using some other libs, e.g. libpng, I prefer to unify them as prebuilt static libs.
I googled some solution which may work. Create and build a dummy project, then copy the lib files out. My question is, is there a more professional way to build SDL just as lib for android?
PS: I tried android-cmake, which can port most of libs to android. It does not work for SDL. android-cmake redirects SDL back to my PC includes and libs, and actually generate settings for PC.