Summary: Currently while building thru gradle got the error that armeabi is not supported.The supported ABI's by ndk are x86, x86_64, armeabi-v71, arm64 Reviewed By: danielbuechele Differential Revision: D8611628 fbshipit-source-id: 80d9449c35a69aab020412b523f5c21fe6661de8
36 lines
857 B
Groovy
36 lines
857 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.compileSdkVersion
|
|
buildToolsVersion rootProject.buildToolsVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.minSdkVersion
|
|
targetSdkVersion rootProject.targetSdkVersion
|
|
ndk {
|
|
abiFilters 'arm64-v8a', 'x86', 'armeabi-v7a'
|
|
}
|
|
|
|
externalNativeBuild {
|
|
ndkBuild {
|
|
arguments "NDK_APPLICATION_MK:=$projectDir/jni/Application.mk",
|
|
"NDK_TOOLCHAIN_VERSION:=clang"
|
|
cppFlags "-std=c++11"
|
|
}
|
|
}
|
|
}
|
|
externalNativeBuild {
|
|
ndkBuild {
|
|
path "$projectDir/jni/Android.mk"
|
|
}
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile './ApplicationManifest.xml'
|
|
}
|
|
}
|
|
}
|