Flutter run error : You have not accepted the license agreements

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

    Installing Android SDK Tools (Obsolete) 26.1.1 worked for me. I found this at another link. I will try to find and pasted here. Remember to un-select show obsolete so you can find the SDK.

    After this, I was able to do Flutter doctor Android Licenses and select y.

提交回复
热议问题