Generate Signed Bundle or APK

How to generate --no-sound-null-safety Generate Signed Bundle or APK
I got error “Cannot run with sound null safety, because the following dependencies”
I search refference only show run and debug but I need ‘–no-sound-null-safety Generate Signed Bundle or APK’