Skip to main content
  1. About
  2. Stack Internal
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
1 answer
91 views

I started using LeakCanary in my app. Based on various sources, I found that with this dependency: debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.14' LeakCanary watches the ...
  • reputation score 138
Score of 1
0 answers
70 views

I have Navigation Component (version 2.9.0) with androidx Fragments (version 1.8.6) and Predictive Back and androidx.transitions (version 1.6.0) with gesture navigation enabled. I'm seeing this leak ...
  • reputation score 732
Score of 1
0 answers
147 views

I implemented a custom software keyboard using Compose to build the UI part and InputMethodService() for IME function interaction. It works as expected. However, memory leak ...
  • reputation score 178
Score of 0
0 answers
281 views

When rotating the emulator the memory leak below pops up. I'm not able to figure out exactly where it comes from. To me it looks like the systems AutofillClientController is leaking my ExampleActivity....
  • reputation score 164
Score of 3
0 answers
115 views

As per the docs, looks like LeakCanary only provides information about leaked object. But, I am also interested in finding multiple instances of certain custom HeavyWeightObject objects. Can ...
  • reputation score 2325
Score of 1
2 answers
3715 views

I tried looking into the systrace in Perfetto UI but just couldn't figure out the reason for crash. The logs for the crashes showed multiple calls related to the G.C so suspected it to be a memory ...
  • reputation score 305
Score of 0
0 answers
147 views

I'm trying to find the line number causing a memory leak in an Android app. Is there a way to pinpoint the exact line? I have tried using LeakCanary library to find the memory leaks in the Android app....
  • reputation score 1
Score of 1
1 answer
675 views

So I have this Composable that I use to detect if a keyboard is visible: @Composable fun keyboardVisibilityAsState(): State<Boolean> { val keyboardState = remember { mutableStateOf(false) } ...
  • reputation score 2049
Score of 0
0 answers
490 views

I have this code gave me from my professor, he also wrote other versions of the same software going to uncomment parts of code in order to show us how a stack works but I don't really understand. #...
Score of 1
3 answers
1090 views

I'm using LeakCanary and it found a memory leak in ConnectivityManager. I've never used ConnectivityManager before and it's not in my project from anything that I wrote. I'm assuming maybe a 3rd party ...
Score of 0
0 answers
33 views

have registered custom back press with handler onCreate in fragment. But leak canary tells there is memory leak when the fragment gets destroyed. This is on back press implementation called on ...
  • reputation score 1
Score of 0
1 answer
2260 views

How can I resolve this leak? ┬─── │ GC Root: Global variable in native code │ ├─ com.samsung.android.content.clipboard.SemClipboardManager2ドル instance │ Leaking: UNKNOWN │ Retaining 204.4 kB in ...
  • reputation score 1860
Score of 1
1 answer
491 views

My app start with this Activity _ A _ Which has FragmentContainer that get initialized as following <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/...
Score of 2
1 answer
1372 views

folks Using leakcanary tool we have noticed recently memory leaks in activities that use webview. The issue just occurs in some models like Samsung devices with Android 13 (one ui 5). We were not able ...
  • reputation score 171
Score of 1
0 answers
431 views

I am getting the following leak from leak canary. But I dont know what is the reason. I also cannot replicate the leak.. The leak occurs randomly so I am not able to trace the leak. Here, I get leak ...
  • reputation score 500

15 30 50 per page
1
2 3 4 5
...
26

AltStyle によって変換されたページ (->オリジナル) /