yukino-org / kazahana-v3

❄️ An extension based Anime & Manga client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Database (ObjectBox) fails to initialize

Ink25 opened this issue · comments

commented

This Was The error.

Screenshot_20211231_115128

This Was The error code:

Message: Something horribly went wrong.
Error: Null check operator used on a null value
Stack trace:
#0 AppState.settings (package:yukino_app/modules/app/state.dart:26)
#1 AppLifecycle.preinitialize (package:yukino_app/modules/app/lifecycle.dart:118)

#2 main (package:yukino_app/main.dart:10)

Closing #170 in favour of this.

commented

Closing #170 in favour of this.

Ok

commented

Another error.
Screenshot_20211231_141110

Error code:

Message: Something horribly went wrong.
Error: Invalid argument(s): Failed to load dynamic library 'libobjectbox-jni.so': dlopen failed: library "libobjectbox-jni.so" not found
Stack trace:
#0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12)
#1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23)
#2 _tryObjectBoxLibFile (package:objectbox/src/native/bindings/bindings.dart:56)
#3 loadObjectBoxLib (package:objectbox/src/native/bindings/bindings.dart:66)
#4 C (package:objectbox/src/native/bindings/bindings.dart:84)
#5 new Model (package:objectbox/src/native/model.dart)
#6 new Store (package:objectbox/src/native/store.dart:105)
#7 openStore (package:yukino_app/modules/database/objectbox/objectbox.g.dart:136)
#8 DatabaseManager.initialize (package:yukino_app/modules/database/database.dart:20)

#9 AppLifecycle.preinitialize (package:yukino_app/modules/app/lifecycle.dart:76)

#10 main (package:yukino_app/main.dart:10)

Android version? and fyi it's something related to objectbox.

commented

Android version 5.0.2

Seems like only Android 7+ is supported. Refer: objectbox/objectbox-dart#328. Seems like that ends it all.