IDEA安装Flutter遇到的坑

环境:

①IDEA2019.3.3

②JAVA12

③Android-SDK29.0.3

④Flutter1.14.6

⑤WINDOWS10.0.18363.657

⑥AL10实体机,Android8

问题一:Manager AVDt升级提示

解决办法:JAVA由12调整为8

问题二:Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

解决办法:运行E:\App\flutterSDK\flutter>flutter doctor --android-licenses,全部回答y

问题三: No devices available

解决办法:flutter config --android-sdk E:\App\AndroidSDK(本机android sdk路径)

posted @ 2020-02-25 16:45  flycatony  阅读(2215)  评论(0编辑  收藏  举报