Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Database (ObjectBox) fails to initialize #171

Closed
Ink25 opened this issue Dec 31, 2021 · 6 comments
Closed

Database (ObjectBox) fails to initialize #171

Ink25 opened this issue Dec 31, 2021 · 6 comments
Labels
status: wont fix This will not be worked on

Comments

@Ink25
Copy link

Ink25 commented Dec 31, 2021

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)

@Ink25 Ink25 added the type: bug Something isn't working label Dec 31, 2021
@zyrouge
Copy link
Collaborator

zyrouge commented Dec 31, 2021

Closing #170 in favour of this.

@Ink25
Copy link
Author

Ink25 commented Dec 31, 2021

Closing #170 in favour of this.

Ok

@Ink25
Copy link
Author

Ink25 commented Dec 31, 2021

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)

@zyrouge zyrouge changed the title Just got a bug report Database (ObjectBox) fails to initialize Dec 31, 2021
@zyrouge
Copy link
Collaborator

zyrouge commented Dec 31, 2021

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

@Ink25
Copy link
Author

Ink25 commented Dec 31, 2021

Android version 5.0.2

@zyrouge
Copy link
Collaborator

zyrouge commented Dec 31, 2021

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

@zyrouge zyrouge closed this as completed Dec 31, 2021
@zyrouge zyrouge added status: wont fix This will not be worked on and removed type: bug Something isn't working labels Dec 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: wont fix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants