ndk-build is now called by gradle build

This commit is contained in:
hypnosis-i2p 2018-02-08 12:54:25 +08:00
parent 0c099dc52b
commit a9061a8f58

View File

@ -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 {
minSdkVersion 14
versionCode 1
versionName "2.18.0"
ndk {
abiFilters 'armeabi-v7a'
}
}
sourceSets {
main {
@ -59,5 +58,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
}
}
externalNativeBuild {
ndkBuild {
path './jni/Android.mk'
}
}
}