阅读 51

【仙女】Android开发工具之Crash打印CrashCanary

CrashCanary

AndroidCrash日志打印输出

Download
GitHub issues
GitHub forks
GitHub stars
GitHub license


github传送门

效果展示

log1_logo
log1_logo

依赖

debugImplementation  'fairy.easy.crashcanary:crashcanary:{latestVersion}'
releaseImplementation  'fairy.easy.crashcanary:crashcanary-no-op:{latestVersion}'
//androidX使用
//debugImplementation  'fairy.easy.crashcanary:crashcanary-androidx:{latestVersion}'

复制代码

调用方式

public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        CrashCanary.install(this);
    }
}

复制代码