nisrulz/flutter-examples

sample 'Image from Network' is not success, operation timeout

開放

#41 建立於 2019年9月23日

 (1 則留言) (0 個反應) (0 位負責人)Dart (1,640 個分叉)batch import
Hacktoberfestbug

倉庫指標

星標
 (7,145 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Launching lib/main.dart on iPhone Xʀ in debug mode... Running Xcode build... Xcode build done. 9.2s Syncing files to device iPhone Xʀ...

════════ Exception caught by image resource service ════════════════════════════════════════════════ The following SocketException was thrown resolving an image codec: OS Error: Operation timed out, errno = 60, address = raw.githubusercontent.com, port = 54151

When the exception was thrown, this was the stack: #0 NetworkImage._loadAsync (package:flutter/src/painting/_network_image_io.dart:88:43) #1 NetworkImage.load (package:flutter/src/painting/_network_image_io.dart:48:14) #2 ImageProvider.resolve... (package:flutter/src/painting/image_provider.dart:316:48) #3 ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:160:22) ... Image provider: NetworkImage("https://github.com/nisrulz/flutter-examples/raw/develop/image_from_network/img/flutter_logo.png", scale: 1.0) Image key: NetworkImage("https://github.com/nisrulz/flutter-examples/raw/develop/image_from_network/img/flutter_logo.png", scale: 1.0) ════════════════════════════════════════════════════════════════════════════════════════════════════

════════ (2) Exception caught by image resource service ════════════════════════════════════════════ OS Error: Operation timed out, errno = 60, address = raw.githubusercontent.com, port = 54152 ════════════════════════════════════════════════════════════════════════════════════════════════════

貢獻者指南