Flutter学习网站和安装问题

一、Flutter网站

Flutter中文开发者网站(推荐)

https://flutter.cn/

二、Flutter第三方库

Pub.Dev

https://pub.dev/

三、Flutter源

export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

四、Flutter安装问题

Flutter安装后出现HTTP host not reachable:

https://blog.csdn.net/qq_41865473/article/details/124044075

cmdline-tools component is missing

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.

在Android Studio的下载安装cmdline-tools:

Android license status unknown

    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

在命令行执行:

flutter doctor --android-licenses

一路选择y即可

posted @ 2022-10-08 10:55  柳云居士  阅读(309)  评论(0编辑  收藏  举报