Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo中PictureUploadView无法显示照片 #4

Closed
yaojunyi opened this issue Apr 17, 2020 · 2 comments
Closed

demo中PictureUploadView无法显示照片 #4

yaojunyi opened this issue Apr 17, 2020 · 2 comments

Comments

@yaojunyi
Copy link

我的手机android 10
无论拍照还是从相册选择照片,最终显示的都是R.mipmap.image_load_err
跟踪了代码 传入ImageLoader.setImagePath()得到的是正确的路径
这是其中一张图片的地址:
/storage/emulated/0/DCIM/Camera/IMG_20200417_083929.jpg

@yaojunyi
Copy link
Author

权限都是允许的,我检查了手机的权限设置页面

@sdwfqin
Copy link
Owner

sdwfqin commented Apr 17, 2020

因为Android 10 存储机制变更导致的,改为uri就可以了,相关代码已提交,感谢反馈!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants