Skip to content

Flutter has exited unexpectedly #16653

@ananth10

Description

@ananth10

I could not run 'flutter doctor' in command prompt. please check attached screenshot.
flutter-issue

and if i try to run app , then i am getting following error.

Launching lib\main.dart on SM G920I in debug mode...
Initializing gradle...
Resolving dependencies...
Finished with error:

*** Error running Gradle:
Unable to download needed Android SDK components, as the following licenses have not been accepted:
Android SDK Build-Tools 26.0.2, Android SDK Platform 27

To resolve this, please run the following command in a Terminal:
flutter doctor --android-licenses**

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions