Sign in Go Pro


Detecting Android Memory Leaks with LeakCanary

4 lessons

04:46 total



In this course, you’ll learn how to install LeakCanary into your application and use it. You’ll be shown how to force a leak so that you can interact with the LeakCanary library through the LeakCanary notification. The library will be installed in the debug build with a no-op variant installed for the release build. You’ll also be shown the stack trace so you can see where your leak is most likely coming from. The lesson also includes a demonstration on how to fix a very common leak in Android when rotating the screen.


Lessons in this course