我正在用谷歌flutter开发安卓和ios应用程序。当我向pubspec.yaml添加一个像shared_preferences这样的新依赖项,然后在终端中执行flutter run时,我得到了这个错误:
What went wrong: A problemYou have not accepted the license agreements of the following SDK components: [Android SDK Platform 27因为我系统上最新的Android SDK平台是26。它尝试
我正在尝试为Ubuntu中的flutter开发设置vscode,但我在定位android和接受许可时遇到了问题。我安装了android,并在SDK管理器中勾选了所有内容,然后将flutter配置更改为android路径,但仍然存在相同的错误。--> flutterdoctorDoctor summary (to see all details, run flutterdoctor
(ran in 1.0s)[√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.18363.778Run `flutterdoctor --android-licenses` to accept the SDK licenses.Studio (version 4.1.0)
• Android Studio at C:\Program
我试图在我的VS代码上安装Flutter,但我一直遇到这个问题。Android许可证状态未知。(base) Lenovo-Legion:~/Documents/$ flutterdoctorDoctor summary (to see all details, run flutterRun `flutterdoctor --android-licenses` to