Add jni directory to build.gradle

Need this so Android can find the SDK native code.
This commit is contained in:
toby cabot 2015-11-16 20:58:48 -05:00
parent 60e630e813
commit 76d3b36986

View file

@ -17,6 +17,12 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
jniLibs.srcDirs = ['native-libs']
jni.srcDirs = [] //disable automatic ndk-build
}
}
}
dependencies {