LuckSiege / LuckSiege/PictureSelector

Service.startForeground() 报错

Open
#2,756 1 comment 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?
#### 当前使用的版本是多少?
io.github.lucksiege:pictureselector:v3.11.1
```

```

## Will this problem occur in demo?
#### Demo能否复现这问题?
不知道,友盟上的报错
```

```

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

```
Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{809abd8 u0 com.zerone.mood/com.luck.picture.lib.service.ForegroundService} at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2240)
```

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 examining the library's ForegroundService entry point and the reported Android error around Context.startForegroundService() and Service.startForeground(). Check whether the issue can be reproduced with version v3.11.1 or in the demo; completion requires identifying the cause and confirming a fix for the reported crash.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.