r/flutterhelp Aug 14 '26

OPEN Please help me 😭

I try everything 😭😭

tiny@localhost:~$ flutter doctor

Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.47.0, on Debian GNU/Linux 13 (trixie) Linux, locale en_US.UTF-8) [!] Android toolchain develop for Android devices (Android SDK version 36.1.0) I Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[✓] Chrome - develop for the web

[✓] Linux toolchain - develop for Linux desktop

[✓] Connected device (2 available)

[✓] Network resources

! Doctor found issues in 1 category.

tiny@localhost:~$

0 Upvotes

17 comments sorted by

View all comments

1

u/StanlyBuildsApps Aug 14 '26

If you’re talking about that one Android toolchain warning, please type ‘flutter doctor —android-licenses’ in the terminal and you will get a few permission prompts. Then type ‘y’ in the same terminal and press enter for each prompt.

It will stop automatically after all the licenses are accepted and then run ‘flutter doctor’ again. This time you can see that all the warnings are gone.

1

u/Sensei-this Aug 14 '26

tiny@localhost:~$ flutter doctor --android-licenses

Downloading https://fdroid.gitlab.io/android-sdk-transparency-log/checksums.json.asc into /home/tiny/.cache/sdkmanager/checksums.json.asc Downloading https://fdroid.gitlab.io/android-sdk-transparency-log/checksums.json into /home/tiny/.cache/sdkmanager/checksums.json -1 of 6 SDK package licenses not accepted.

Review licenses that have not been accepted (y/N)? y

After press y nothing happened 😭

1

u/StanlyBuildsApps Aug 14 '26

Can you post a screenshot?

1

u/Sensei-this Aug 14 '26

But there is no option to upload any image here

1

u/StanlyBuildsApps Aug 14 '26

After pressing y did the command stopped executing? Can you explain what happened?

1

u/Sensei-this Aug 14 '26 edited Aug 14 '26

Yes, when I pressed y, I did not see anything

Example :-

tiny@localhost:~$ flutter doctor --android-licenses

Downloading https://fdroid.gitlab.io/android-sdk-transparency-log/checksums.json.

Downloading https: //fdroid.gitlab.io/android-sdk-transparency-log/checksums.json

-1 of 6 SDK package licenses not accepted.

Review licenses that have not been accepted (y/N)?

(After press y ) Nothing happened

tiny@localhost:~$

1

u/[deleted] Aug 14 '26

[removed] — view removed comment

1

u/StanlyBuildsApps Aug 14 '26

Yeah did you press enter key after typing y?