Flutter run error : You have not accepted the license agreements

前端 未结 12 2170
面向向阳花
面向向阳花 2020-12-03 17:04

I\'m developing android and ios app with Google flutter.
when I add a new dependency like shared_preferences to pubspec.yaml and then execute

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-03 17:19

    C:\Users\bansal>flutter doctor --android-licenses
    

    A newer version of the Android SDK is required. To update, run:

    D:\android SDK\tools\bin\sdkmanager --update
    

提交回复
热议问题