简体   繁体   中英

How is Android jniLibs folder created?

I am looking at an old sample android project in eclipse and i see a folder jniLibs under app/src folder and into app/build/intermediates. It also has a subfolder armeabi and some .so files in it.

I am trying to create a similar project to android studio but this folder does not exist. When i try to run my new app it throws an error because it can't find one of the .so files in this folder.

How is the folder created? Does the IDE generate it or i have to create and add the .so files inside it manually? Are those .so file generated, too or someone imported them manually in the sample project?

You can create jniLibs folder yourself. The correct path would be

src/main/jniLibs

and put your external libraries

Other folders/files at this level are

src/main/java src/main/res src/main/res/AndroidManifest.xml

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM