Giter Club home page Giter Club logo

androidcrashx's Introduction

介绍


      🔥AndroidCrashX 能够降低APP线上崩溃次数,支持java 异常捕获、崩溃处理、线上bug日志追踪。不需要根权限或任何系统权限。

特性

  • 支持 Android 4.0 - 10(API level 14 - 29)。
  • 捕获Android应用崩溃,并自动生成log日志记录📝。
  • 主线程或子线程抛出异常后,迫使主线程Looper持续loop()。
  • Activity生命周期中抛出异常,关闭异常页面。
  • 当绘制、测量、布局出现问题导致Crash时,关闭异常界面。

Image
原理讲解,请查看我的博客:https://blog.csdn.net/csdn_aiyang/article/details/105054241

使用

1. 增加依赖。

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
}
 
dependencies {
   implementation 'com.github.aiyangtianci:AndroidCrashX:2.0.2'
}

2. 初始化 Crashx。

Java

public class mApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        CrashX.install(this);
	
      	// 打包上线设为flase,不进行相关log、toast提示
        // CrashX.install(this,new CrashX.InitParameters().setDebug(false));
    }
}

已接入项目

欢迎加入QQ群

通往Android的阶梯:569614530

androidcrashx's People

Contributors

aiyangtianci avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.