I'm using a third-party library to detect Multiple sims for both older versions of android and newer versions found from here: https://stackoverflow.com/a/41544422/1860982 by @Tapa Save But on adding the library to my dependencies and trying to run it throws an exception that it cannot find library.
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.kirianov.multisim:multisim:1.0'
}
It just crashes and shows me this error
java.lang.UnsatisfiedLinkError: Couldn't load multisimlib from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.sampleapp-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.sampleapp-2, /vendor/lib, /system/lib]]]: findLibrary returned null
So i checked many sources on stackoverflow related to this issue, but none helped yet.