I get this exception at the startup of the app.
UnsupportedError (Unsupported operation: Loaded ObjectBox core dynamic library has unsupported version 0.18.1, expected ^0.19.0)
Flutter 3.15.0-15.2.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 0d074ced6c (3 hours ago) • 2023-09-21 10:24:15 -0700
Engine • revision 453411bcf3
Tools • Dart 3.2.0 (build 3.2.0-134.1.beta) • DevTools 2.27.0
sdk: '>=3.0.0 <4.0.0'
objectbox: ^2.1.0
objectbox_flutter_libs: ^2.1.0
objectbox_generator: ^2.1.0
I tried it on Windows and Linux and tried the following script like they say in their docs.
bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-dart/main/install.sh)
In windows I copied the files to System32 and in Linux it installs the .so file globally but it does not work on either platform.
Edit: Same problem with the objectbox example projects.