Bug 516039 - KDE Connect app on Android crashes, unable to start background servive with null at ...
Summary: KDE Connect app on Android crashes, unable to start background servive with n...
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Android Unspecified
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-15 14:20 UTC by Henning
Modified: 2026-02-15 14:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
full log (7.11 KB, text/plain)
2026-02-15 14:26 UTC, Henning
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henning 2026-02-15 14:20:09 UTC
GrapheneOS updated

There is a button to kill all apps so they use the new ahead of time compiled code

restarted all apps, then KDE Connect hung, this is the log

```
type: crash
osVersion: google/bluejay/bluejay:16/BP4A.251205.006/2026021201:user/release-keys
flags: dev options enabled
package: org.kde.kdeconnect_tp:13209, targetSdk 35
process: org.kde.kdeconnect_tp
processUptime: 460 + 140 ms
installer: net.typeblog.shelter

java.lang.RuntimeException: Unable to start service org.kde.kdeconnect.BackgroundService@3c32f5b with null
	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5777)
	at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2794)
	at android.os.Handler.dispatchMessage(Handler.java:132)
	at android.os.Looper.dispatchMessage(Looper.java:333)
	at android.os.Looper.loopOnce(Looper.java:263)
	at android.os.Looper.loop(Looper.java:367)
	at android.app.ActivityThread.main(ActivityThread.java:9331)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:955)
Caused by: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service org.kde.kdeconnect_tp/org.kde.kdeconnect.BackgroundService
	at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)
	at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)
	at android.os.Parcel.readParcelableInternal(Parcel.java:5282)
	at android.os.Parcel.readParcelable(Parcel.java:5263)
	at android.os.Parcel.createExceptionOrNull(Parcel.java:3377)
	at android.os.Parcel.createException(Parcel.java:3366)
	at android.os.Parcel.readException(Parcel.java:3342)
	at android.os.Parcel.readException(Parcel.java:3284)
	at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7512)
	at android.app.Service.startForeground(Service.java:878)
	at org.kde.kdeconnect.BackgroundService$$ExternalSyntheticApiModelOutline0.m(R8$$SyntheticClass:0)
	at org.kde.kdeconnect.BackgroundService.onStartCommand(BackgroundService.kt:237)
	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5761)
	... 10 more
```
Comment 1 Henning 2026-02-15 14:26:10 UTC
Created attachment 189617 [details]
full log