Blankj / Blankj/AndroidUtilCode
UriUtils.file2Uri(File(path))崩溃,找不到文件,文件确定是存在的
Open
@Blankj is already working on this.
Since Jul 31, 2022.
bug
- Dominant language
- Java
- Stars
- 33.6k
- Forks
- 10.6k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Caused by java.lang.IllegalArgumentException
Failed to find configured root that contains /storage/A7FE-1613/Pictures/bluetooth/20220330_141114.jpg
The code of bug
UriUtils.file2Uri(File(path))
设备信息
Android 8.0.0
HUAWEI Y6 2018
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.