亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

在Window上創建時,報255

Unhandled exception:

FormatException: Scheme not starting with alphabetic character (at character 1)

?https://pub.flutter-io.cn

^


#0? ? ? _Uri._fail (dart:core/uri.dart:1623:5)

#1? ? ? _Uri._makeScheme (dart:core/uri.dart:2184:7)

#2? ? ? new _Uri.notSimple (dart:core/uri.dart:1465:18)

#3? ? ? Uri.parse (dart:core/uri.dart:1022:17)

#4? ? ? HostedSource._pubHostedUrlConfig (package:pub/src/source/hosted.dart:57:19)

#5? ? ? HostedSource.defaultUrl (package:pub/src/source/hosted.dart:50:28)

#6? ? ? new UploaderCommand (package:pub/src/command/uploader.dart:27:42)

#7? ? ? new PubCommandRunner (package:pub/src/command_runner.dart:107:16)

#8? ? ? main (file:///C:/b/s/w/ir/k/src/third_party/dart/third_party/pkg/pub/bin/pub.dart:8:3)

#9? ? ? _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)

#10? ? ?_RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

Running "flutter pub get" in flutter_lession...

pub get failed (255)


正在回答

2 回答

已解決了,用戶變量的值多了個空格

1 回復 有任何疑惑可以回復我~
#1

weixin_慕慕8059607

配置鏡像的環境變量PUB_HOSTED_URL的url前面還真多了個空格,去掉后,重啟studio再次運行flutter pub get,成功了
2019-12-18 回復 有任何疑惑可以回復我~

換Mac吧

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

在Window上創建時,報255

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號