Skip to content Skip to sidebar Skip to footer

Cross-plattform Use Of A Static .a-library On Ios And Android Possible? (what About .so And .dylib ?)

I have created a static library (with extension .a) for iOS with Xcode. These were my build-settings: Architectures: armv6, armv7 Base SDK: iOS 4.3 Build Active Architecture Only:

Solution 1:

You need to separately compile the library for Android platform. A simple example of compiling C-C++ sources for Android platform is given in the link below

http://tariqzubairy.wordpress.com/2012/03/09/arm-binaries-static-library-for-android/

For using the already pre-build version of any library on Android you just need to add a local module in your Android.mk file as given in the link below

http://tariqzubairy.wordpress.com/2012/03/12/use-of-prebuild-static-library-compiled-with-android-toolchain/

Post a Comment for "Cross-plattform Use Of A Static .a-library On Ios And Android Possible? (what About .so And .dylib ?)"