mrmaffen / vlc-android-sdk

VLC Android SDK pushed to Maven Central. Primarily used in project tomahawk-android.
793 stars 244 forks source link

Is there a way of excluding specific architectures when building with Gradle? #30

Closed rniebecker closed 8 years ago

rniebecker commented 8 years ago

Hey,

I would like to exclude architectures for x86 and x86_64 which I don't need and it's just blowing up my APK.

Is there any way when using Gradle to do this using an exclude statement?

Thanks, Ralf

rniebecker commented 8 years ago

Nevermind,

I figured it out myself, I just had to add this to my build.gradle file: defaultConfig { ... ndk { abiFilters "armeabi-v7a", "arm64-v8a", "x86" } }

Cheers, Ralf