how to use leakcanary, how to add leakcanary as a jar to build a apk with .mk file
问题 LeakCanary is a memory leak detection library for Android and Java. LeakCanary My project is based on android make file system, which relies on some android internal interfaces and custom methods. How can I add the LeakCanary as a lib into my app to detect memory leak. My solution: First, I have to build the LeakCanary as a jar file, but how to. as it's a gradle directory structure, and I have never used Gradle before. Any tip is precious. 回答1: LeakCanary is not just a JAR - it contains not