by @kodeazy

flutter Cannot run with sound null safety error using command prompt or Android Studio?

Home » flutter » flutter Cannot run with sound null safety error using command prompt or Android Studio?

In this blog we will discuss on how to resolve null safety error in Android or command prompt as shown in below screenshot. Android Error

Solution 1

Using command prompt execute the below command while running the project

flutter run --no-sound-null-safety

Solution 2

In Andorid studio we have to modify configuration and paste the command --no-sound-null-safety as shown in below image.
Android Error