Error While Loading Native Library In Android
I am trying to load native libraries in android studio. My Project build and runs but throws error when trying to load the .so file. My Project structure is: And my Gradle File i
Solution 1:
Unlike Eclipse with ADT, gradle with Android plugin looks for native libraries in src/main/jniLibs
folder by default.
You can change that folder location in the following source set:
android {
sourceSets.main {
jniLibs.srcDir 'src/main/libs'
}
}
Post a Comment for "Error While Loading Native Library In Android"