You can drop prebuilt .so in src/main/jniLibs/<abi>/libfoo.so. You cannot use .a directly you'll have to generate .so files using the NDK first.
On Thu, Jan 29, 2015 at 5:45 AM, Jeppe Pihl <[email protected]> wrote: > Hi, > > I have an Android Application in which I want to call a native function. > The function depends on another native library which has been pre-built. Is > it possible to link with this library using Android Studio, and if so how > does one go about doing so? > > I would like to know this both for static and shared libraries. > > - Jeppe Pihl > > -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
