Flutter run error : You have not accepted the license agreements

前端 未结 12 2200
面向向阳花
面向向阳花 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:35

    First make sure Android SDK is installed on your device. Also see if 2 Android SDK's are not Installed!

    Then just simply type on Terminal or CMD flutter doctor --android-licenses Then press y until it acquires all permissions.

提交回复
热议问题