1 | initial version |
In your CMakeLists.txt add this https://www.pastiebin.com/5cf897647a939 and your build.gradle file must add following lines.
externalNativeBuild {
cmake {
cppFlags "-frtti -fexceptions"
abiFilters 'armeabi-v7a'//, 'arm64-v8a'
}
}
sourceSets.main
{
jni.srcDirs = []
jniLibs.srcDir 'src/main/libs'
}
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.10.2"
}
}
2 | No.2 Revision |
In your CMakeLists.txt add this https://www.pastiebin.com/5cf897647a939 and your build.gradle file must add following lines.
externalNativeBuild {
cmake {
cppFlags "-frtti -fexceptions"
abiFilters 'armeabi-v7a'//, 'armeabi-v7a', 'arm64-v8a'
}
}
sourceSets.main
{
jni.srcDirs = []
jniLibs.srcDir 'src/main/libs'
}
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.10.2"
}
}