Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[SDK]View the released Android App crash log

OP crashlog

20th August 2014, 04:42 AM   |  #1  
OP Junior Member
Thanks Meter: 6
 
12 posts
Join Date:Joined: Aug 2014
More
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 and Process 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.
    PHP Code:
    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".
    PHP Code:
    -renamesourcefileattribute ProGuard
    -keepattributes SourceFile,LineNumberTable 


Get source:http://github.com/liu-yanjun/crash-log-report
Demo:http://www.crashlog.org
Last edited by crashlog; 26th August 2014 at 12:39 PM. Reason: Highlight url
The Following User Says Thank You to crashlog For This Useful Post: [ View ]
31st August 2014, 06:28 AM   |  #2  
OP Junior Member
Thanks Meter: 6
 
12 posts
Join Date:Joined: Aug 2014
More

New Features on Crashlog.org:
  • Bugfixes
  • Decode obfuscated stack traces automatically.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes