apply plugin: 'com.android.library' android { /* * Required: Android Studio 3.0.0+! */ compileSdkVersion 25 defaultConfig { minSdkVersion 24 targetSdkVersion 24 versionCode 1 versionName "1.0" ndk.abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' externalNativeBuild { cmake.arguments '-DANDROID_TOOLCHAIN=clang', '-DANDROID_STL=c++_static', '-DANDROID_PLATFORM=android-24' } } externalNativeBuild { cmake.path 'CMakeLists.txt' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }