【发布时间】:2021-11-08 08:40:39
【问题描述】:
当我在 VSCode 中运行 fvm flutter doctor 时,我收到此错误:
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'],
在 Android Studio 中使用相同的命令:
Building flutter tool...
Setting VM flags failed: Unrecognized flags: verbosity
我不知道如何解决这个问题。有人可以帮忙吗?
【问题讨论】:
标签: flutter android-studio visual-studio-code fvm