apply plugin: 'com.android.library' android { compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" ndk { moduleName "facesdk" ldLibs "log" abiFilters "armeabi","armeabi-v7a" //,"armeabi" //, "arm64-v8a" } } // sourceSets.main { // jni.srcDirs = [] // jniLibs.srcDir "libs" // } sourceSets { main { jniLibs.srcDirs = ['libs'] } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { debuggable true jniDebuggable true } } } dependencies { api fileTree(include: ['*.jar'], dir: 'libs') // implementation 'com.android.support:appcompat-v7:28.0.0' // implementation 'com.android.support:recyclerview-v7:28.0.0' // implementation 'com.google.code.gson:gson:2.8.5' // implementation 'com.github.bumptech.glide:glide:4.8.0' api project(':facelibrary') }