LuckSiege / LuckSiege/PictureSelector

Android 13,level 33 ROM OPPO/PHM110 选择图片崩溃

Open
#2,669 0 comments 3 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?
#### 当前使用的版本是多少?

```
"compileSdkVersion" : 30,
"buildToolsVersion" : "30.0.2",
"minSdkVersion" : 24,
"targetSdkVersion" : 29,
```

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

```
没尝试
```

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

```
bugly 上报的日志

No Activity found to handle Intent { act=android.intent.action.PICK dat=content://media/... (has extras) }
com.luck.picture.lib.PictureSelectorSystemFragment.openSystemAlbum(PictureSelectorSystemFragment.java:126)

出错堆栈

1 android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2187)
2 android.app.Instrumentation.execStartActivity(Instrumentation.java:1831)
3 android.app.Activity.startActivityForResult(Activity.java:5580)
4 androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:588)
5 androidx.core.app.ActivityCompat.startActivityForResult(ActivityCompat.java:237)
6 androidx.activity.ComponentActivity$2.onLaunch(ComponentActivity.java:211)
7 androidx.activity.result.ActivityResultRegistry$2.launch(ActivityResultRegistry.java:167)
8 androidx.fragment.app.Fragment$9.launch(Fragment.java:3510)
9 androidx.activity.result.ActivityResultLauncher.launch(ActivityResultLauncher.java:47)
10 com.luck.picture.lib.PictureSelectorSystemFragment.openSystemAlbum(PictureSelectorSystemFragment.java:126)
11 com.luck.picture.lib.PictureSelectorSystemFragment.onViewCreated(PictureSelectorSystemFragment.java:72)
12 androidx.fragment.app.Fragment.performViewCreated(Fragment.java:2987)
13 androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:546)
14 androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:282)
15 androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2189)
16 androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2100)
17 androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:2002)
18 androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:524)
19 android.os.Handler.handleCallback(Handler.java:942)
20 android.os.Handler.dispatchMessage(Handler.java:99)
```

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 with PictureSelectorSystemFragment.java at lines 72 and 126, then review the reported Android 13 stack trace for the failing image-selection launch. Reproduce image selection with the reported Android 13, OPPO/PHM110 configuration if available. Done means selecting an image no longer crashes in this scenario.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.