flutter - globals.platform.environment['LOCALAPPDATA'] / FVM / Flutter
问题描述
当我fvm flutter doctor
在 VSCode 中运行时,我收到此错误:
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
我不知道如何解决这个问题。有人可以帮忙吗?
解决方案
推荐阅读
- dictionary - 将 Ansible 字典列表转换为单个列表未按预期显示
- php - 如何在 shopify 中获取“在线商店”销售渠道产品?
- android - 是否可以强制卸载我的应用程序?
- puppeteer - 无法在无头浏览器中加入由 lib-jitsi-meet 创建的会议
- gnuplot - 你如何使用 GNUplot 画一个圆?
- javascript - input type="date" 将默认值设置为今天的日期
- cefsharp - cefsharp (chromiumwebbrowser) 的默认缓存路径在哪里?
- java - Mockito 模拟 retrytemplate.execute 并返回模拟响应
- flutter - 颤振错误:TabBarView 没有 TabController
- python - 如何从“列表”视图中分割部分字段 – django rest 框架