Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7618279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:21:47+00:00 2026-05-31T03:21:47+00:00

I have created a static library (with extension .a) for iOS with Xcode. These

  • 0

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: No
  • Supported Platforms: iphoneos, iphonesimulator
  • Valid Architectures: armv6, armv7

A check with lipo -info libassimp.a approves:
Architectures in the fat file: libassimp.a are: armv6 armv7

Can I use this static .a-library in an Android NDK project as well?
Do I have to add supported platforms?
Or do I have to build it seperately on Android?

Furthermore, I need libz.dylib which is a preinstalled library on iOS – actually libassimp.a needs libz.dylib. Is it also available on Android, and would it be possible to use libassimp.a without modifications on Android in this case?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T03:21:48+00:00Added an answer on May 31, 2026 at 3:21 am

    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/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created two separate static libraries in Xcode for usage on iOS, A
I have created one static library in iPhone sdk, and I am worried that
I have created a static library in Iphone SDK in which I used some
I have created a static library following this link . But I am facing
I have a static library *.lib created using MSVC on windows. The size of
I wrote a program which uses Cryptopp library. I have created the static library
Using this guide I have created a static library (let's call it AppCore )
I have created a static library for my application. Now, my application uses sources
I have an XCode 4.2 workspace containing a Cocos Touch Static Library (mixed Objective
I have created a static and dynamic library that I want to distribute. How

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.