Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rniebecker opened this issue May 24, 2016 · 1 comment

Comments

@rniebecker
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant