-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails on latest flutter beta #150
Labels
bug
Something isn't working
Comments
now also on latest stable, any update? 3 warnings
|
alexrintt
added a commit
that referenced
this issue
Feb 16, 2024
alexrintt
added a commit
that referenced
this issue
Feb 16, 2024
alexrintt
added a commit
that referenced
this issue
Feb 16, 2024
Thanks for reporting, published a fix https://pub.dev/packages/shared_storage/versions/0.8.1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When building an appbundle on the latest flutter beta, you get an error. Stable works fine.
To Reproduce
Run flutter build appbundle --obfuscate --split-debug-info=./build
`Running Gradle task 'bundleRelease'...
...
warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: Recompile with -Xlint:deprecation for details.
3 warnings
/opt/hostedtoolcache/flutter/3.19.0-0.1.pre-beta/x64/.pub-cache/hosted/pub.dev/shared_storage-0.8.0/lib/src/common/functional_extender.dart:28:36: Error: A value of type 'Object?' can't be returned from a function with return type 'T?'.
return self != null && f(self) ? self : null;
^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Execution failed for task ':app:compileFlutterBuildRelease'.
BUILD FAILED in 4m 34s
Running Gradle task 'bundleRelease'... 275.3s
Gradle task bundleRelease failed with exit code 1
Error: Process completed with exit code 1.`
The text was updated successfully, but these errors were encountered: