Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,702 Members 53,846 Now Online
XDA Developers Android and Mobile Development Forum

[SDK]View the released Android App crash log

Tip us?
 
crashlog
Old
(Last edited by crashlog; 26th August 2014 at 11:39 AM.) Reason: Highlight url
#1  
Junior Member - OP
Thanks Meter 6
Posts: 12
Join Date: Aug 2014
Talking [SDK]View the released Android App crash log

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
The Following User Says Thank You to crashlog For This Useful Post: [ Click to Expand ]
 
crashlog
Old
#2  
Junior Member - OP
Thanks Meter 6
Posts: 12
Join Date: Aug 2014

New Features on Crashlog.org:
  • Bugfixes
  • Decode obfuscated stack traces automatically.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes