From 76d3b3698649aefd3cfc964c153d7eb429c58ac3 Mon Sep 17 00:00:00 2001 From: toby cabot Date: Mon, 16 Nov 2015 20:58:48 -0500 Subject: [PATCH] Add jni directory to build.gradle Need this so Android can find the SDK native code. --- app/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 8b2ef8c..c040bc3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 {