Menu

Tree [849209] master /
 History

HTTPS access


File Date Author Commit
 CrashReportSample 2014-09-03 Liu,Yanjun Liu,Yanjun [93a084] Network status report
 README.md 2014-09-03 Liu,Yanjun Liu,Yanjun [e25976] modify readme

Read Me

Crash Report SDK for Android

By adding the crash report SDK in the project, developers can view the released APP crash log, which will help to locate problems and improve the quality of the products.

Features:

  • Little code implementation, does not affect your APP installation package size.
  • Choose 4G, 3G, WIFI these broad networks to report log, avoid network congestion.
  • Rich error information, help developers positioning the problem. For example: StackTrace, Memory, Storage, Thread, Process and Network etc..

Usage:

  1. Get SDK source code, and copy the "src/org/crashlog/crashreport" folder to your Project.
  2. Initialize CrashReport in your subclass extended from Application, refer to "src/org/crashlog/sample/MyApplication.java".
  3. Add below permissions to AndroidManifest.xml.

    android.permission.INTERNET
    android.permission.WRITE_EXTERNAL_STORAGE
    android.permission.READ_EXTERNAL_STORAGE
    android.permission.ACCESS_NETWORK_STATE
    
  4. If ProGuard enabled, need to add the following options in the "proguard-project.txt".

    -renamesourcefileattribute ProGuard
    -keepattributes SourceFile,LineNumberTable
    
Now you can query the submitted crash log report through crashlog.org.