Got below error when running 1st app developed using Flutter and Android Studio SDK
ERROR:
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
Ran below command as told in the log.
flutter doctor --android-licenses
Got below error.
sdkmanager --version failed: 1
FIX:
Go to Android Studio and click on SDK Manager icon
Select version mention in the error and click on Apply
Once done run your application again.
No comments:
Post a Comment