gpt4 book ai didi

android - Flutter with android studio from snap

转载 作者:IT王子 更新时间:2023-10-29 06:54:18 27 4
gpt4 key购买 nike

我正在尝试安装 flutter,但在键入“flutter doctor -v”时出现了流动错误:

[✓] Flutter (Channel stable, v1.0.0, on Linux, locale en_IL)
• Flutter version 1.0.0 at /home/guy/flutter/flutter
• Framework revision 5391447fae (2 weeks ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /home/guy/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /snap/android-studio/69/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
✗ Android license status unknown.

[✓] Android Studio (version 3.2)
• Android Studio at /snap/android-studio/69/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Android Studio
• Android Studio at /opt/android-studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

! Doctor found issues in 1 category.

会不会是 android from snap preventing flutter 识别 Android 许可状态?

最佳答案

您可能必须接受所需的许可。通过运行

flutter doctor --android-licenses

在终端上,然后按 y 接受每一个。

关于android - Flutter with android studio from snap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53806071/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com