16

enter image description here

Hi, I use Android Studio.

I want to create jniLibs folder but my project does not have it.

I know jniLibs is created automatically, isn't it?

Is it a gradle setting?

1
  • 1
    Gradle automatically picks up a jnilibs folder, you just need to make one, but it isn't automatic Commented Jul 28, 2016 at 1:30

2 Answers 2

30

If you don't have the JNI directory in your project, do this:

enter image description here

4
  • 10
    strange: the question was about jniLibs folder, the answer is about jni folder.
    – Alex Cohn
    Commented Oct 2, 2017 at 7:27
  • Well, it fixed the OP problem Commented Oct 2, 2017 at 7:31
  • Made my day. Tks
    – KhoaHA
    Commented Mar 26, 2018 at 16:38
  • 1
    AS doesn't seem to have this anymore.
    – User
    Commented Jun 13, 2020 at 14:37
3

@lalongoo gave you the right answer, but you can do this without Android Studio :

create a directory named jni under app/src/main (the default location).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.