square / leakcanary

A memory leak detection library for Android.

Home Page:https://square.github.io/leakcanary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

targetSdkVersion 34 cause missingForegroundServiceTypeException

5800LDW opened this issue · comments

targetSdkVersion 34

Caused by android.app.MissingForegroundServiceTypeException:Staring FGS without a type callerApp=ProcessRecord

at leakcanary.internal.ForegroundService.showForegroundNotification(ForegroundService.kt:51)
at leakcanary.internal.ForegroundService.onCreate(ForegroundService.kt:33)

LeakCanary is in the stacktrace but has nothing to do with this, this is a bug in your app.