# CrashCanary **Repository Path**: HappyAndroid666/CrashCanary ## Basic Information - **Project Name**: CrashCanary - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-18 - **Last Updated**: 2022-03-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CrashCanary ![logo](img/ic_crash_logo.png) [![](https://jitpack.io/v/wdsqjq/CrashCanary.svg)](https://jitpack.io/#wdsqjq/CrashCanary)[![GitHub license](https://img.shields.io/github/license/wdsqjq/CrashCanary.svg)](http://www.apache.org/licenses/LICENSE-2.0) [English](./README_EN.md) `CrashCanary`是一个无侵入的安卓崩溃日志记录库,对你的代码没有任务侵入性,无需申请权限,只需要添加依赖,即可在程序崩溃时记录崩溃日志并可查看所有日志。 ## Preview ![preview](img/crash_canary.gif) ## Implementation **Step 1.** Add the JitPack repository to your build file ```groovy allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` **Step 2.** Add the dependency ```groovy debugImplementation 'com.github.wdsqjq:CrashCanary:1.0.6' ``` 通过`debugImplementation`方式添加依赖只在debug模式生效,release模式不会生效。 ## Usage 添加完对`CrashCanary`的依赖后无需添加任何代码,是的,你没看错,就是真么0浸入。 一旦你的应用发生异常崩溃,可以进入和你应用同名的图标为`CrashCanary`的入口,查看崩溃日志。 ![enterance](img/enterance.png)![list](img/log_list.png) ![detail](img/detail.png) 记录列表中可以长按item删除该日志。 ## License `CrashCanary` is released under the Apache License version 2.0.