Add jni directory to build.gradle
Need this so Android can find the SDK native code.
This commit is contained in:
parent
60e630e813
commit
76d3b36986
1 changed files with 6 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue