gpt4 book ai didi

android - 如何解决 : Android license status unknown and also Android sdkmanager tool not found?

转载 作者:行者123 更新时间:2023-12-04 01:33:13 25 4
gpt4 key购买 nike

尝试了我发现的所有内容(github问题,SO问题)。还尝试从 Android Studio 重新安装 Android SDK(29)。

  • flutter 医生
    C:\Users\Zheny>flutter doctor
    Doctor summary (to see all details, run flutter doctor -v):
    [√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.693], locale ru-RU)
    [!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    X Android license status unknown.
    Try re-installing or updating your Android SDK Manager.
    See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.
    [√] Android Studio (version 3.6)
    [!] VS Code (version 1.42.1)
    X Flutter extension not installed; install from
    https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
    [!] Connected device
    ! No devices available
    ! Doctor found issues in 3 categories.
  • flutter 医生--android-licenses
    Android sdkmanager tool not found 
    (C:\Users\Zheny\AppData\Local\Android\Sdk\tools\bin\sdkmanager).
    Try re-installing or updating your Android SDK,
    visit https://flutter.dev/setup/#android-setup for detailed instructions.
  • flutter 医生-v
    C:\Users\Zheny>flutter doctor -v
    [√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.693], locale ru-RU)
    • Flutter version 1.12.13+hotfix.8 at C:\Flutter SDK\flutter
    • Framework revision 0b8abb4724 (2 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

    [!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\Zheny\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = C:\Users\Zheny\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    X Android license status unknown.
    Try re-installing or updating your Android SDK Manager.
    See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

    [√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

    [!] VS Code (version 1.42.1)
    • VS Code at C:\Users\Zheny\AppData\Local\Programs\Microsoft VS Code
    X Flutter extension not installed; install from
    https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

    [!] Connected device
    ! No devices available

    ! Doctor found issues in 3 categories.
  • 我的 PATH 和文件夹的屏幕
    enter image description here
    enter image description here
    enter image description here

  • 我该如何解决这个问题?

    最佳答案

    按着这些次序

  • 打开 Android Studio SDK 管理器
  • 在 Android SDK 选项卡中,取消选中 Hide Obsolete Packages
  • 检查 Android SDK 工具(已过时)

  • enter image description here

    资源:
    https://flutter.dev/docs/get-started/install/macos#install-android-studio

    关于android - 如何解决 : Android license status unknown and also Android sdkmanager tool not found?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60464016/

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