I\'m running unit tests in Android Studio. I have a Java class that loads a native library with the following code
static { System.loadLibrary(\"myli
The .so files are to be placed under
src/main/jniLibs
Not under src/main/libs
(Tested with Android Studio 1.2.2)
For reference check the page - http://ph0b.com/android-studio-gradle-and-ndk-integration/, though some portions might be outdated.