Reputation: 1
HOPE YOU GO VERY WELL !!
I'm currently working on a control pad pannel for a robot control i'm working for the flutter mobile part so than i'm facing this error :
Error: Cannot run with sound null safety, because the following dependencies don't support null safety:
For solutions, see https://dart.dev/go/unsound-null-safety lib/main.dart:77:5: Warning: Operand of null-aware operation '?.' has type 'StreamSubscription' w hich excludes null.
FAILURE: Build failed with an exception. flutter error screenshot
i really need your help
Thanks!
Upvotes: 0
Views: 3029
Reputation: 1
To run your project with --no-sound-null-safety add this line your main.dart file in top(first line) with comment..
// @dart=2.9
then run your project.
To read more : Reference
Upvotes: 0
Reputation: 111
try this solution on Android Studio
--no-sound-null-safety
Upvotes: 2