Jerin
Jerin

Reputation: 801

Android licenses is toggling between not found and not accepted

Im starting with flutter. I have the flutter sdk setup. When I run flutter doctor sometimes it shows Android Licenses are not accepted and other times it shows Android licenses are not accepted. Can someone tell me why flutter is gaving this weird behavior.

enter image description here

Another thing is when I run flutter doctor --android-licenses it wont wait for my to input y, otherwise it doestn't show anything

enter image description here

I have - Sdk 29,28,27,26 platform - Obsolete Sdk tool package - Commandline tools - emulator - sdk platform tools

I think it should work with the obsolete sdk tools. But I have no idea why it is acting weird.

Upvotes: 1

Views: 54

Answers (2)

user14605727
user14605727

Reputation:

I think reinstalling Android Studio after clearning its cache and all other files will help

Upvotes: 1

Jerin
Jerin

Reputation: 801

It worked when I reset my windows. Its not a perfect solution but hope it will help someone.

Upvotes: 1

Related Questions