android: gradle build - add ndk.abiFilters to package the prebuilt arm64-v8a/libmpd.so with the apk
This commit is contained in:
parent
996e158f56
commit
0872a761c8
@ -18,6 +18,11 @@ android {
|
||||
vectorDrawables {
|
||||
useSupportLibrary = true
|
||||
}
|
||||
ndk {
|
||||
// Specifies the ABI configurations of your native
|
||||
// libraries Gradle should build and package with your app.
|
||||
abiFilters += "arm64-v8a"
|
||||
}
|
||||
}
|
||||
|
||||
buildFeatures {
|
||||
@ -30,8 +35,11 @@ android {
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
debug {
|
||||
isMinifyEnabled = false
|
||||
}
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
|
Loading…
x
Reference in New Issue
Block a user