安装flutter sdk、android studio和flutter插件后。。
*第一,我手动复制了Android SDK工具,因为Android工作室没有从网上下载!!
*第二次当我试图写";扑动医生";在命令行中,情况并不顺利,这就是实际发生的事情。
PS C:UsersMQ> flutter doctor -v
Got TLS error trying to find package node_preamble at https://pub.dartlang.org.
pub get failed (server unavailable) -- attempting retry 1 in 1 second...
Got TLS error trying to find package node_preamble at https://pub.dartlang.org.
pub get failed (server unavailable) -- attempting retry 2 in 2 seconds...
Got TLS error trying to find package node_preamble at https://pub.dartlang.org.
pub get failed (server unavailable) -- attempting retry 3 in 4 seconds...
Running "flutter pub get" in flutter_tools...
|
我也遇到了同样的问题,我更改了网络连接,但也遇到了相同的问题。因此,为了解决这个问题,我将flutter版本更改为1.22.6,这个版本对我有效,我在这个版本中没有遇到这些错误。