gpt4 book ai didi

dart - SocketException : Failed host lookup: ‘....co’ (OS Error: nodename nor servname provided, 或未知,errno = 8)

转载 作者:IT王子 更新时间:2023-10-29 06:51:12 33 4
gpt4 key购买 nike

在应用程序启动时,我收到此错误:SocketException:主机查找失败:'....co'(操作系统错误:提供了节点名或服务名,或未知,errno = 8)

我的 flutter docotor -v 输出也是:

Heyabs-MacBook-Pro:flutterLoginApp-master4OK heyab$ flutter doctor -v
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.13.6 17G65, locale en-GB)
• Flutter version 1.0.0 at /Users/heyab/flutter
• Framework revision 5391447fae (3 months ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/heyab/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
• ios-deploy 1.9.4
• CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] VS Code (version 1.31.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.23.0

[✓] Connected device (1 available)
• Heyab's iPhone • 77afb908fc6c490d3fca62cdde9a74ab4e45b4f0 • ios • iOS 11.4.1

• No issues found!

最佳答案

由于我的设备处于离线状态,我收到了这个错误。将我的设备设置为在线后,错误不再存在。

关于dart - SocketException : Failed host lookup: ‘....co’ (OS Error: nodename nor servname provided, 或未知,errno = 8),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54765133/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com