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 33
33
*/
34
34
public class NativeLibraryLoader {
35
35
static {
36
- String libname = "objectbox" ;
37
- String filename = "objectbox .so" ;
36
+ String libname = "objectbox-jni " ;
37
+ String filename = libname + " .so" ;
38
38
boolean isLinux = false ;
39
39
// For Android, os.name is also "Linux", so we need an extra check
40
40
// Is not completely reliable (e.g. Vivo devices), see workaround on load failure
@@ -72,7 +72,7 @@ public class NativeLibraryLoader {
72
72
} catch (UnsatisfiedLinkError e ) {
73
73
if (!android && isLinux ) {
74
74
// maybe is Android, but check failed: try loading Android lib
75
- System .loadLibrary ("objectbox" );
75
+ System .loadLibrary ("objectbox-jni " );
76
76
} else {
77
77
throw e ;
78
78
}
You can’t perform that action at this time.
0 commit comments