ArgumentError was thrown resolving an image codec:I/flutter (11127): Another exception was thrown: Invalid argument(s): No host specified in URIfile:///p2
I/flutter (11127): Anot
我试图在Flutter中读取CSV,但在运行时遇到错误。CSV.from(url : 'resources/travel.csv', delimiter: ",", title:true);}Invalid argument(s): No host specified in URI resources/travel.csv
==================================
The following ArgumentError was thrown resolving an image codec: 无效参数:在URI file:///assets/Upload/Item/214b5d5c-ca86-45f5- bb45- 7850559a23bb.jpg中未指定主机 抛出异常时,堆栈是这样的: #0 _HttpClient
它在模拟器中工作得很好,但当图像url为空时,它总是会发布错误:I/flutter ( 6907): Invalid argument(s): No host specified in URI I/flutter ( 6907Failed to download file from with error:
I/flutter ( 6907):