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?
Right click on the "app" folder and select New->Folder->JNI Folder. This should create a folder under app/src/main called "jni". List your *. c files on LOCAL_SRC_FILES and the name your library on LOCAL_MODULE.
jni/libs folder is where your shared library files are built from the C/C++ sources.
If you don't have the JNI directory in your project, do this:
@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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With