dart-sdk
dart-sdk copied to clipboard
在windows系统,上传报错
错误如下: [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: StorageError [StorageErrorType.UNKNOWN, null]: FormatException: Invalid HTTP header field value: "QiniuDart/v0.7.0 (Windows_NT 10.0.22621 UNKNOWN; Microsoft Windows 11 专业工作站版 10.0.22621;) QiniuFlutter/v0.7.0 (Windows 11 Pro for Workstations 22H2)" (at character 71) QiniuDart/v0.7.0 (Windows_NT 10.0.22621 UNKNOWN; Microsoft Windows 11 专业工作站...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.27.1, on Microsoft Windows [版本 10.0.22621.4317], locale zh-CN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/to/windows-android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.4) [!] Android Studio (not installed) [√] Connected device (2 available) [√] Network resources