Detailed explanation of the role of LIBS and jinlibs folders in Android Development
preface
I believe you Android developers often deal with these two folders in Android development. You have been using them vaguely before. You haven't thought about it. I have encountered some problems recently. After careful study, I hereby record and share. I won't say much now. Let's take a look at the detailed introduction.
libs: librarys
Places to store third-party libraries, such as *. Jar and *. AAR.
You can see it in the project view, but not in the Android view.
jniLibs: java native interface librarys
New to Android studio. It is used to store. So files by default.
Q: However, we often see *. So files in LIBS. Then why add this jnilibs directory.
A: In as, it will automatically load *. So files in jnilibs directory. If you put it in any other directory, you must tell it where you put these files (redirection).
Add in module #build.gradle:
It's better to let them perform their duties. So your project looks neat.
summary
The above is the whole content of this article. I hope the content of this article has a certain reference value for your study or work. If you have any questions, you can leave a message. Thank you for your support for programming tips.