在指定位置找不到 Flutter SDK - 在 Android Studio 中 [英] Flutter SDK is not found in the specified location - in Android Studio

查看:87
本文介绍了在指定位置找不到 Flutter SDK - 在 Android Studio 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在安装 Flutter,除了上面指定的一件事外,一切都很好.

I am installing Flutter and everything is good except one thing, specified above.

Flutter 医生说:

Flutter doctor says this:

$ flutter 医生 -v

$ flutter doctor -v

[√] Flutter (Channel beta, v0.7.3, on Microsoft Windows [Version 10.0.17134.228], locale nl-NL)
    • Flutter version 0.7.3 at C:\Flutter\flutter_windows_new\flutter
    • Framework revision 3b309bda07 (13 days ago), 2018-08-28 12:39:24 -0700
    • Engine revision af42b6dc95
    • Dart version 2.1.0-dev.1.0.flutter-ccb16f7282

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\iwijsman\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 27.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 28.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[√] IntelliJ IDEA Community Edition (version 2018.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.2
    • Flutter plugin version 28.0.4
    • Dart plugin version 182.4323.44

[√] Connected devices (1 available)
    • Pixel 2 • FA83P1A01724 • android-arm64 • Android 9 (API 28)

• No issues found!

我已将请求的路径添加到变量中,并且在 Android Studio 中,插件已安装并应用,但我仍然收到此错误.

I've added the requested path to variables and in Android studio, the plugins are installed and applied but I still get this error.

请帮帮我,我哪里出错了?

please help me, where am I going wrong?

推荐答案

如消息中所述,它是可选的,仅用于特定任务.

As mentioned in the message it is optional and only used for specific tasks.

您可以从 Android Studio 安装

You can install it from Android Studio

菜单 >工具 >SDK管理器Android SDK(对话框左侧)>SDK 工具(选项卡)

Menu > Tools > SDK Manager > Android SDK (left side of the dialog) > SDK Tools (tab)

确保启用此行

点击 [OK] 就可以安装了.

With [OK] it should be installed.

这篇关于在指定位置找不到 Flutter SDK - 在 Android Studio 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆