【发布时间】:2021-06-01 13:31:23
【问题描述】:
当我尝试向我的 Flutter 应用程序添加语言支持时出现此错误:
Target of URI doesn't exist: 'package:flutter_gen/gen_l10n/app_localizations.dart'. Try creating the file referenced by the URI, or Try using a URI for a file that does exist.
我用的是flutter_localizations,项目是用dart 2.7.0构建的
看来flutter_localizations 需要最新的sdk,即dart 2.13.0
我该如何解决这个问题?
【问题讨论】:
标签: flutter dart flutter-dependencies