When I run fvm flutter doctor
in VSCode, I get this error:
Building flutter tool...
../../../../../../fvm/versions/1.22.6/packages/flutter_tools/lib/src/android/android_studio.dart:379:37: Error: The argument type 'String?' can't be assigned to the parameter type 'String' because 'String?' is nullable and 'String' isn't.
globals.platform.environment['LOCALAPPDATA'],
In Android Studio with the same command I get:
Building flutter tool...
Setting VM flags failed: Unrecognized flags: verbosity
I don't know how to fix this. Can somebody help?