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

Cannot compile jni #16

Open
RobySamuel opened this issue Sep 16, 2016 · 1 comment
Open

Cannot compile jni #16

RobySamuel opened this issue Sep 16, 2016 · 1 comment

Comments

@RobySamuel
Copy link

Hi madhur,

I tried to compile the jni lib from your source, but i theres a problem to it. It show like the below screenshot

capture

How can i fix it?

Thank you.

@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.

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

2 participants