华为荣耀v8 6.0读取图片,出现以下异常:
11-05 19:18:01.850 28064-28064/com.example.faaaaace E/BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/Download/qqmail/8514.jpg: open failed: EACCES (Permission denied)
解决方法:
设置 应用 开启存储权限,解决!
顺便说一句,6.0好溜