Can not run with sound null safety because dependencies don't support null safety - Tech Now

Опубликовано: 27 Февраль 2026
на канале: Tech Now Tv
15,381
163

Flutter Error Solution Video - no sound null safety
Cannot run with sound null safety because dependencies don't support null safety

First, you should read through the guide to understand unsound null safety.
If you are sure that you want to run your app with unsound null safety, you can use the following command:

flutter run --no-sound-null-safety

IDE run args/configuration
To set this up in your IDE of choice, you can use:

In IntelliJ/Android Studio: "Edit Configurations" in your run configurations → "Additional run args".
In VS Code: search for "Flutter run additional args" in your user settings.
In both cases, add --no-sound-null-safety.

Test configuration
For tests, you will want to do the same thing:

In IntelliJ/Android Studio: "Edit Configurations" in your run configurations→ "Additional args".
In VS Code: search for "Flutter test additional args" in your user settings.
In both cases, add --no-sound-null-safety.

In Android Studio:

Run
Edit Configurations
Add Additional Run args
--no-sound-null-safety

In case you were using VSCode and faced it in your unit test.

Code Preferences
Settings
Search setting, type in - flutter test
Dart: Flutter Test Additional Args, Add item
Add --no-sound-null-safety


Check Out :- https://github.com/benjilo/Flutter-Ca...


#youtubeislife #subscriber #youtubeguru #youtubecontent #newvideo #subscribers #youtubevideo #youtub #youtuber #youtubevideos
#youtube #youtuber #youtubechannel #revolutionreal #blacksmokeyeye #smokeyeye
#urbandecay #urbandecaycosmetics #jaclynhillcosmetics #jeffreestarcosmetics
#fotostumblr #youtuberwhich #cars #doctam3 #supercars #purplemante #violaparsifae #performante #huracanperformante #photooftheday#maccosmeticsuk #barrym
#channelyuh #cummins #liftedcummins #4thgencummins #lamborghini #sixpointseven #sixseven #diesel #turbo #turbodiesel#barrymcosmetics #subscribe #makeupvideo #makeuptutorial#glow #glowingskin #discoverunder5k #discoverunder10k