This works for me:
android.ndk {
moduleName = "hello-jni"
ldLibs += "log"
stl = "gnustl_static"
abiFilter = ["armeabi-v7a"]
}
On Wednesday, July 29, 2015 at 4:17:23 PM UTC+1, George Metaxas wrote:
Hello,
>
> I am having trouble using the gradle experimental support of NDK. I cannot
> get it to stop building all supported ARCH_ABIs.
> I have tried setting abiFilters in android.ndk, eg:
>
> android.ndk {
> moduleName = "sample"
> toolchain = "clang"
> abiFilter += "armeabi-v7a"
> }
>
>
> I have tried setting the abi filter in the flavours, e.g:
> android.productFlavors {
>
> create ("arm7") {
> ndk.abiFilters += "armeabi-v7a"
> }
>
> create ("x86-32") {
> ndk.abiFilters += "x86"
> }
> create ("x86-64") {
> ndk.abiFilters += "x86_64"
> }
>
> create ("fat")
> }
>
>
>
> I all instances, gradle would build for all support ARCH_ABIs (e.g.
> arm64-v8a).
> Is there any way around this?
>
> Thanks in advance
>
--
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.