•  


GitHub - iqiyi/xCrash: ?? xCrash provides the Android app with the ability to capture java crash, native crash and ANR. No root permission or any system permissions are required.
Skip to content

?? xCrash provides the Android app with the ability to capture java crash, native crash and ANR. No root permission or any system permissions are required.

License

Unknown, CC-BY-4.0 licenses found

Licenses found

Unknown
LICENSE
CC-BY-4.0
LICENSE-docs
Notifications You must be signed in to change notification settings

iqiyi/xCrash

Repository files navigation

xCrash Logo

xCrash

xCrash provides the Android app with the ability to capture java crash, native crash and ANR. No root permission or any system permissions are required.

intro

xCrash can generate a tombstone file (similar format as Android system's tombstone file) in the directory you specified when the app process crashes or ANRs.

xCrash has been used in many Android apps (including iQIYI video) on different platforms (mobile, tablet, TV) of iQIYI for many years.

README 中文版

Features

  • Support Android 4.1 - 11 (API level 16 - 30).
  • Support armeabi-v7a, arm64-v8a, x86 and x86_64.
  • Capturing java crash, native crash and ANR.
  • Dumping detailed statistics about process, threads, memory, FD and network.
  • Setting which thread's info should be dumped via regular expressions.
  • Do not require root permission or any system permissions.

Tombstone File Previews

Overview Maps

Architecture

architecture

Capture Native Crash

capture native crash

Capture ANR

capture anr

Usage

1. Add dependency.

dependencies
 {
    implementation 
'
com.iqiyi.xcrash:xcrash-android-lib:3.0.0
'

}

2. Specify one or more ABI(s) you need.

android
 {
    defaultConfig {
        ndk {
            abiFilters 
'
armeabi-v7a
'
, 
'
arm64-v8a
'
, 
'
x86
'
, 
'
x86_64
'

        }
    }
}

3. Initialize xCrash.

Java

public
 class
 MyCustomApplication
 extends
 Application
 {

    
@
Override

    protected
 void
 attachBaseContext
(
Context
 base
) {
        
super
.
attachBaseContext
(
base
);
        
        
xcrash
.
XCrash
.
init
(
this
);
    }
}

Kotlin

class
 MyCustomApplication
 : 
Application
() {

    
override
 fun
 attachBaseContext
(
base
:
 Context
) {
        
super
.attachBaseContext(base)

        xcrash.
XCrash
.
init
(
this
)
    }
}

Tombstone files will be written to Context#getFilesDir() + "/tombstones" directory by default. (usually in: /data/data/PACKAGE_NAME/files/tombstones )

There is a more practical and complex sample app in the xcrash_sample folder.

Build

If you want to build xCrash from source code. Follow this guide:

Build AAR library.

./gradlew :xcrash_lib:build

Support

Contributing

See xCrash Contributing Guide .

License

xCrash is MIT licensed, as found in the LICENSE file.

xCrash documentation is Creative Commons licensed, as found in the LICENSE-docs file.

About

?? xCrash provides the Android app with the ability to capture java crash, native crash and ANR. No root permission or any system permissions are required.

Topics

Resources

License

Unknown, CC-BY-4.0 licenses found

Licenses found

Unknown
LICENSE
CC-BY-4.0
LICENSE-docs

Stars

Watchers

Forks

Packages

No packages published
- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본