Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JNI file missing error #13

Open
mohanrajsambath opened this issue Apr 27, 2016 · 5 comments
Open

JNI file missing error #13

mohanrajsambath opened this issue Apr 27, 2016 · 5 comments

Comments

@mohanrajsambath
Copy link

cannot resolve the corresponding JNI files,
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

4

screen shot 2016-04-27 at 12 10 58 pm

@ashishsharma30
Copy link

Insert in to build.gradle(Module:App) these lines:
sourceSets.main {
jniLibs.srcDir 'libs'
jni.srcDirs = [] //disable automatic ndk-build call
}
sync now it'll auto create jni libs.

All the best.

@madhur
Copy link
Owner

madhur commented May 2, 2017

Can you send me a PR for this?

@ashishsharma30
Copy link

ashishsharma30 commented May 2, 2017 via email

@madhur
Copy link
Owner

madhur commented May 2, 2017

Pull Request

@ashishsharma30
Copy link

ashishsharma30 commented May 2, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants