File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
objectbox-java/src/main/java/io/objectbox/internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3333 */
3434public class NativeLibraryLoader {
3535 static {
36- String libname = "objectbox" ;
37- String filename = "objectbox .so" ;
36+ String libname = "objectbox-jni " ;
37+ String filename = libname + " .so" ;
3838 boolean isLinux = false ;
3939 // For Android, os.name is also "Linux", so we need an extra check
4040 // Is not completely reliable (e.g. Vivo devices), see workaround on load failure
@@ -72,7 +72,7 @@ public class NativeLibraryLoader {
7272 } catch (UnsatisfiedLinkError e ) {
7373 if (!android && isLinux ) {
7474 // maybe is Android, but check failed: try loading Android lib
75- System .loadLibrary ("objectbox" );
75+ System .loadLibrary ("objectbox-jni " );
7676 } else {
7777 throw e ;
7878 }
You can’t perform that action at this time.
0 commit comments