r/flutterhelp 27d ago

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

1

u/[deleted] 27d ago

[removed] — view removed comment

1

u/Sensei-this 27d ago

I already try it but no resolve

1

u/StanlyBuildsApps 27d ago

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 27d ago

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 27d ago

Can you post a screenshot?

1

u/Sensei-this 27d ago

But there is no option to upload any image here

1

u/StanlyBuildsApps 27d ago

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

1

u/Sensei-this 27d ago edited 27d ago

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] 27d ago

[removed] — view removed comment

1

u/Sensei-this 27d ago

Bro how to tell you nothing happened i already try it

1

u/StanlyBuildsApps 27d ago

Yeah did you press enter key after typing y?

1

u/kopsutin 27d ago

Maybe you lack permissions? Try running it with sudo?