사용방법
dependencies
{
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5'
}
Application 시작 부분에 설정
public class mTransekyApp extends Application
{
@Override
public void onCreate()
{
if (LeakCanary.isInAnalyzerProcess(this))
{
return;
}
LeakCanary.install(this);
}
}
'개발 > Android' 카테고리의 다른 글
DEX 구조 및 분석 (0) | 2021.06.04 |
---|---|
[android] 악성코드 분석 - 1 (0) | 2021.05.26 |
jni 유용한 코드 (0) | 2020.11.27 |
ARM64 Calling Convention (0) | 2020.09.14 |