Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 21
- buildToolsVersion "25.0.0"
- compileOptions.encoding = 'ISO-8859-1'
- sourceSets.main.jni.srcDirs = []
- defaultConfig {
- minSdkVersion 21
- targetSdkVersion 21
- versionCode 1
- versionName "1.0"
- ndk {
- moduleName "xxxx_jni"
- // Specifies the ABI configurations of your native
- // libraries Gradle should build and package with your APK.
- abiFilters 'armeabi-v7a'
- }
- }
- buildTypes {
- debug {
- minifyEnabled false
- useProguard false
- }
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- externalNativeBuild {
- ndkBuild {
- path 'src/main/jni/Android.mk'
- }
- }
- }
- dependencies {
- compile 'com.android.support:support-v4:21.+'
- //compile files('libs/metaiosdk.jar')
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement