问题描述
昨天我从命令行更新了Flutter。然后也飞镖(提示我)。之后,我所有包含String的类都出现了错误(String不是一种类型-当然,我确实导入了dart-core,但什么也没发生)。
事件,尽管它们似乎已安装
我看过以下内容,但没有帮助
https://github.com/flutter/flutter/issues/28995
Flutter plugin not installed error;. When running flutter doctor
Android Studio flutter and dart plugins not recognized by flutter doctor,but plugins are installed
我正在使用稳定的Android Studio 4.1频道。我已经尝试了在这里找到的所有内容(Flutter pub get,upgrade,clean等,Android Studio的无效缓存,但还是一样。我可以从命令行工作,但这不是解决方案。
有什么想法吗? 非常感谢!