fresco icon indicating copy to clipboard operation
fresco copied to clipboard

java.io.FileNotFoundException by some special uri

Open lindow2009 opened this issue 11 years ago • 3 comments

some uri has special character like file:///storage/emulated/0/Tencent/QQfile_recv/PL6YD4~F{T)9)TBLX2%IB%C.png

so display throw exception cause by libcore.io.ErrnoException: open failed: ENOENT (No such file or directory) any suggestions?

lindow2009 avatar Apr 10 '15 10:04 lindow2009

Are you sure that the filename is correct and that the file exists? Does FileInputStream("/storage/emulated/0/Tencent/QQfile_recv/PL6YD4~F{T)9)TBLX2%IB%C.png") work?

plamenko avatar Apr 10 '15 14:04 plamenko

Closing this as we haven't heard back. Please reopen if this is still an issue.

plamenko avatar Apr 17 '15 00:04 plamenko

Yes ,I have encountered this problem,and this picture is exist,because I can see it in system photo album,but when I use Freco to display it ,it throw this exception.open failed: ENOENT (No such file or directory)

wang00850023 avatar Nov 12 '15 03:11 wang00850023