解决Android中BitmapFactory: Unable to decode stream: java.io.FileNotFoundException.....

今天在编写Android读取相册中的照片时,从相册中选择完照片后就是不显示出来,并且报错
BitmapFactory: Unable to decode stream: java.io.FileNotFoundException”

最后只需在AndroidManifest.xml中添加一行
在这里插入图片描述
成功解决问题!!!

猜你喜欢

转载自blog.csdn.net/m0_50127633/article/details/119008316