Browse Source

ndk-build is now called by gradle build

pull/1103/head
hypnosis-i2p 7 years ago
parent
commit
a9061a8f58
  1. 12
      android/build.gradle

12
android/build.gradle

@ -18,10 +18,6 @@ repositories { @@ -18,10 +18,6 @@ repositories {
}
dependencies {
// compile "com.android.support:support-v4:26.1.0"
// compile "com.android.support:support-v13:26.1.0"
// compile "com.android.support:cardview-v7:26.1.0"
// compile "com.android.support:appcompat-v7:26.1.0"
compile 'com.android.support:support-v4:25.3.1'
compile 'com.android.support:design:25.3.1'
}
@ -35,6 +31,9 @@ android { @@ -35,6 +31,9 @@ android {
minSdkVersion 14
versionCode 1
versionName "2.18.0"
ndk {
abiFilters 'armeabi-v7a'
}
}
sourceSets {
main {
@ -59,5 +58,10 @@ android { @@ -59,5 +58,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
}
}
externalNativeBuild {
ndkBuild {
path './jni/Android.mk'
}
}
}

Loading…
Cancel
Save