Blankj / Blankj/AndroidUtilCode
UriUtils.file2Uri(File(path))崩溃,找不到文件,文件确定是存在的
Open
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
Assessment
This issue has not been assessed yet.