LuckSiege / LuckSiege/PictureSelector
拍照后,外部存储SD卡读取失败
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Current use version?
#### 当前使用的版本是多少?
```
3.10.7
```
## Will this problem occur in demo?
#### Demo能否复现这问题?
```
不能
```
## Describe the problem or provide an error log?
#### 描述问题或提供错误log?
```
集中在Android10的机子
Fatal Exception: java.lang.IllegalArgumentException: Unknown URL content://media/external/images/media
at android.content.ContentResolver.insert(ContentResolver.java:1840)
at com.luck.picture.lib.utils.MediaStoreUtils.createImageUri(MediaStoreUtils.java:97)
at com.luck.picture.lib.utils.MediaStoreUtils.createCameraOutImageUri(MediaStoreUtils.java:40)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in com.luck.picture.lib.utils.MediaStoreUtils, especially createImageUri and createCameraOutImageUri, using the reported Android 10 stack trace as the entry point. Reproduce the camera capture with an external SD card and verify that the image URI is created successfully without the reported IllegalArgumentException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100