Unable to load asset / cached image #42998
Labels
a: assets
Packaging, accessing, or using assets
c: crash
Stack traces logged to the console
framework
flutter/packages/flutter repository. See also f: labels.
platform-android
Android applications specifically
Hi Flutter community !
My App have a button to share images loaded from internet. The code is working fine on iOS.
But on Android, the first attempt never works. rootBundle throws an Exception(Unable to load asset).
The rootBundle only find the cached file after a hot restart. So release versions never work :(
==> If I re Run the app, the problem vanish until the next uninstall and reinstall of the app.
I'm using the flutter-cache-manager and esys-flutter-share packages.
And I tried Flutter Clean. Flutter Upgrade. on dev/beta/master channels.
Any ideas ?
Thanks a lot ! 🙏
The text was updated successfully, but these errors were encountered: