Update 2016/09/19
This is fixed in LeakCanary 1.4, so a simple update should fix it without contacting the alternative version of haha .
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4'
Earlier
These warnings are caused by haha:2.0.2 , which is a dependency on leakcanary-android:1.4-beta2 .
It is fixed in haha:2.0.3 , so you can fix it by explicitly using the newer version in your dependencies. Add this line for each flavor where you add a leakcanary dependency. You do not need to add it for leakcanary-android-no-op , since it has no dependencies.
debugCompile 'com.squareup.haha:haha:2.0.3'
Sky Kelsey Jul 07 '16 at 21:45 2016-07-07 21:45
source share