LuckSiege / LuckSiege/PictureSelector

打开后黑屏,预览也黑屏,选择不上图片

Open
#2,768 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

## Current use version?
#### 当前使用的版本是多少?

```
implementation 'io.github.lucksiege:pictureselector:v3.11.1'

```

## Will this problem occur in demo?
#### Demo能否复现这问题?

```
Demo无法复现,很懵逼
```

## Describe the problem or provide an error log?
#### 描述问题或提供错误log?

```
// 进入相册
PictureSelector.create(MainActivity.this)
.openGallery(SelectMimeType.ofImage())//全部.PictureMimeType.ofAll()、图片
.setImageEngine(GlideEngine.createGlideEngine())
.setMinSelectNum(1)// 最小选择数量 int
.setImageSpanCount(4)// 每行显示个数 int
.setSelectionMode(cb_choose_mode.isChecked() ? SelectModeConfig.MULTIPLE : SelectModeConfig.SINGLE)// 多选
.isPreviewImage(true)// 是否可预览图片 true or false
.isDisplayCamera(true)// 是否显示拍照按钮 true or false
.isPageSyncAlbumCount(true)
.isFastSlidingSelect(true)
.isPreviewFullScreenMode(true)
.isPreviewZoomEffect(true)
.isMaxSelectEnabledMask(true)
.isDisplayTimeAxis(true)
.isPageStrategy(true)
.forResult(PictureConfig.CHOOSE_REQUEST);//结果回调onActivityResult code
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with PictureSelector v3.11.1 using the MainActivity configuration shown, then compare it with the demo where the problem does not occur. Capture the relevant error log and isolate why the gallery, preview, and image selection show black screens; done means images open, preview correctly, and can be selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.