1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] Flutter Setup: Android Toolchain Issues - cmdline-tools Missing and License Status...

Discussão em 'Mobile' iniciado por Stack, Outubro 4, 2024 às 23:53.

  1. Stack

    Stack Membro Participativo

    I'm currently setting up Flutter for Android development, but I'm running into some issues with the Android toolchain. When I run flutter doctor, I get the following warnings:

    [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    X cmdline-tools component is missing
    Run `path/to/sdkmanager --install "cmdline-tools;latest"`
    See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
    Run `flutter doctor --android-licenses` to accept the SDK licenses.
    See https://flutter.dev/to/windows-android-setup for more details.


    I tried to follow the steps, but I'm still having trouble figuring out:

    1. How do I correctly install the cmdline-tools? Is there a specific path I should use for sdkmanager?
    2. How do I resolve the "Android license status unknown" issue? I tried running flutter doctor --android-licenses but got no clear response.

    Any help or guidance on how to fix this would be greatly appreciated!

    Thanks in advance!

    Continue reading...

Compartilhe esta Página