Open pt-rick opened 1 week ago
Okay, this is interesting, as for android the library comes bundled with the precompiled binaries. This is validate here https://github.com/Skycoder42/libsodium_dart_bindings/blob/main/packages/sodium/test/integration/cases/sodium_test_case.dart#L17 and here https://github.com/Skycoder42/libsodium_dart_bindings/blob/main/packages/sodium_libs/example/integration_test/app_test.dart#L65, so I think there must be something wrong on your system - propably something with caches.
My recommendation - clear them all:
dart pub cache clean
cd android && .\gradlew.bat --stop
rmdir /S /Q %userprofile%\.gradle
flutter clean
git clean -dfX
File > Invalidate Caches
, check all the boxes and press Invalidate and Restart
After that, run pub get again and rebuild your project. Hopefully the update error message will be gone.
This warning is given when running my application in Android Studio while using sodium_libs versions 3.n.n. Correspondently, the app crypto exchange fails. The app successfully runs with version 2.2.1+6.
I/flutter ( 2610): WARNING: The embedded libsodium is outdated! Expected 1.0.20, but was 1.0.19}. Please file an issue at https://github.com/Skycoder42/libsodium_dart_bindings/issues.
Here's my Flutter doctor output: [√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.19045.5131], locale en-US) • Flutter version 3.24.3 on channel stable at C:\Users\Rick\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2663184aa7 (2 months ago), 2024-09-11 16:27:48 -0500 • Engine revision 36335019a8 • Dart version 3.5.3 • DevTools version 2.37.3