A problem occurred evaluating root project ‘android’ flutter

To develop a flutter project, sometimes when you try to run mobile emulator from Android Studio or Microsoft Visual Studio Code, you may encounter error like –
“A problem occurred evaluating root project ‘android’ flutter.”

The reason might be different for each case  but for me the reason was that all SDK package licenses was not accepted by me. I found it by ran the command

flutter doctor‘ from flutter console. Please see below screenshot –


figure 1


Flutter console automatically prompted me to press Y/N to accept licenses agreement.¬† I have pressed ‘Y’ to accept it. Then i ran ‘flutter doctor‘ again now it shown the status.

Flutter Imgage1
figure 2

Then I opened the Android Studio and executed the emulator and it ran perfectly.

One Reply to “A problem occurred evaluating root project ‘android’ flutter”

Leave a Reply

Your email address will not be published. Required fields are marked *