0

I installed Leak Canary as per the instructions in their GitHub repo but no notification is showing up when I run it with a debugger attached in the emulator.

Fabian Streitel
  • 2,702
  • 26
  • 36

1 Answers1

1

Leak Canary will do nothing on purpose as long as a Debugger is attached to the process, as can be seen when debugging into the library's code.

Apparently, the debugger may cause false memory leak reports. Thus, the only way to get Leak Canary notifications is to run it without the debugger attached (but remember that you must run the debug APK!).

Fabian Streitel
  • 2,702
  • 26
  • 36