flutter入门级问题解决

2020-09-15  本文已影响0人  feitry

问题:

 Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
image.png

解决办法:

flutter doctor --android-licenses

根据提示信息,输入y,完成
问题:

[!] Android Studio (version 3.0)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.

在Android studio 中安装Dart和Flutter,即可。步骤如图:


image.png
image.png

完成后,使用flutter doctor,如图:


image.png
问题:
[!] Connected device
    ! No devices available

连接设备,或者启动模拟器即可


image.png
上一篇下一篇

猜你喜欢

热点阅读