-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 14 One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED #2568
Comments
This crash happens if |
Related: Getting this crash when LeakCanary dumps heap on Emulator API 34
|
Looking at the Android sources, I see we call The only place that truly matters here is: leakcanary/leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/VisibilityTracker.kt Line 73 in 8e4c802
We need to add |
@vpuonti LeakCanary is in the stacktrace but has nothing to do with this, that one is a bug in your app. |
I also had crash when LeakCanary dumps heap on project with targetApi = 34 when the app in the background. It was "fixed" by removing LeakCanary from project. Should I add foregroundServiceType for LeakCanary service in my project's manifest file to fix the error? |
Yet somehow, when I got the same crash after rotating the screen while leakcanary 2.7 was dumping heap - the issue was resolved by upgrading leakcanary to 2.13 |
The text was updated successfully, but these errors were encountered: