-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_NewStringFromUTF8 expects argument 'str' to be valid UTF-8. #111957
Comments
Hi @YowFung, thanks for filing the issue. |
Hi @huycozy, Sample Code: import 'dart:io';
void main() {
final hostname = Platform.localHostname;
print(hostname);
} |
@YowFung thanks for your response. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
My flutter application can't work on Windows 11 but Windows 10.
Phenomenon:
It shows white blank on debug mode, and invisible on release mode.
Error log:
verbose log
flutter doctor -v
[✓] Flutter (Channel stable, 3.3.2, on Microsoft Windows [版本 10.0.22000.978], locale zh-CN) • Flutter version 3.3.2 on channel stable at C:\Users\UC-NO.1\Downloads\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision e3c29ec00c (6 days ago), 2022-09-14 08:46:55 -0500 • Engine revision a4ff2c53d8 • Dart version 2.18.1 • DevTools version 2.15.0 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at C:\Users\UC-NO.1\AppData\Local\Android\sdk • Platform android-33, build-tools 33.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted. [✓] Chrome - develop for the web • Chrome at C:\Users\UC-NO.1\AppData\Local\Google\Chrome\Application\chrome.exe [✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.4) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.3.32901.215 • Windows 10 SDK version 10.0.19041.0 [✓] Android Studio (version 2021.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) [✓] VS Code (version 1.71.2) • VS Code at C:\Users\UC-NO.1\AppData\Local\Programs\Microsoft VS Code • Flutter extension can be installed from: 🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter [✓] Connected device (3 available) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.22000.978] • Chrome (web) • chrome • web-javascript • unknown • Edge (web) • edge • web-javascript • Microsoft Edge 105.0.1343.33 HTTP Host availability check is taking a long time...[!] HTTP Host Availability ✗ HTTP host "https://maven.google.com/" is not reachable. Reason: An error occurred while checking the HTTP host: 信号灯超时时间已到 ✗ HTTP host "https://cloud.google.com/" is not reachable. Reason: An error occurred while checking the HTTP host: 信号灯超时时间已到 ! Doctor found issues in 1 category.
The text was updated successfully, but these errors were encountered: