Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter Integration in android Studio issue

While integrating Flutter in Android studio getting error as * 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

like image 545
LAL Avatar asked May 24 '26 09:05

LAL


1 Answers

enter image description here Problem was with sdk path in local.properties. By default its pointing to different location. It works for me when change android sdk home dir in sdk.dir

like image 63
Khang Doan Avatar answered May 27 '26 01:05

Khang Doan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!