Right now you can only compile a single library. We intend to change this
in the future.


On Thu, Apr 3, 2014 at 2:18 PM, Pasin Suriyentrakorn <[email protected]>wrote:

> I have two shared native binaries that need to be compiled. The structure
> is as below:
>
> <project folder>
> src
>     main
>         jni
>             nativelib1
>                  nativelib1.c
>                  nativelib1.h
>             nativelib2
>                  nativelib2.c
>                  nativelib2.h
>
> Is there a way to setup ndk under defaultConfig in build.gradle to build
> more than one native libraries?
>
> I googled around and only found an example for compiling only one native
> library as below example.
>
>
>    1. defaultConfig {
>    2.         ndk {
>    3.             moduleName "hello-jni"
>    4.         }
>    5.     }
>    6.
>
>
>
>
>  --
> 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.

Reply via email to