引发以下ArgumentError解析图像编解码器

时间:2019-11-20 08:45:47

标签: flutter

════════ Exception caught by image resource service 

抛出以下ArgumentError来解析图像编解码器:

  

无效的参数:未在URI http中指定主机:

引发异常时,这是堆栈:

#0      _HttpClient._openUrl (dart:_http/http_impl.dart:2191:9)
#1      _HttpClient.getUrl (dart:_http/http_impl.dart:2122:48)
#2      NetworkImage._loadAsync (package:flutter/src/painting/_network_image_io.dart:84:59)
<asynchronous suspension>
#3      NetworkImage.load (package:flutter/src/painting/_network_image_io.dart:47:14)
...
Image provider: NetworkImage("http:", scale: 1.0)
Image key: NetworkImage("http:", scale: 1.0)
════════════════════════════════════════════════════════════════════════════════════════════════════
I/zygote  ( 5217): Do partial code cache collection, code=30KB, data=25KB
I/zygote  ( 5217): After code cache collection, code=30KB, data=25KB
I/zygote  ( 5217): Increasing code cache capacity to 128KB
I/flutter ( 5217): 0  

0 个答案:

没有答案