You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+33-3Lines changed: 33 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Java library for reporting exceptions, errors, and log messages to [Rollbar](htt
5
5
6
6
## Setup ##
7
7
8
-
Download [rollbar-android.jar](https://github.com/rollbar/rollbar-android/releases/download/v0.0.2/rollbar-android-0.0.2.jar) and place it in your Android project's `libs` directory.
8
+
Download [rollbar-android.jar](https://github.com/rollbar/rollbar-android/releases/download/v0.0.4/rollbar-android-0.0.4.jar) and place it in your Android project's `libs` directory.
9
9
10
10
Add the following line in your custom Application subclass's `onCreate()` to initialize Rollbar:
11
11
@@ -36,19 +36,49 @@ Rollbar.reportMessage("A test message", "debug");
36
36
37
37
The following configuration methods are available:
Sets whether or not to include logcat output in reports to Rollbar.
63
+
64
+
Note: For devices with API level 15 and lower, you will need to include the `android.permission.READ_LOGS` permission in your app's `AndroidManifest.xml` for logcat collection to work.
Sets the level uncaught exceptions are reported as.
79
+
80
+
Default: `error`
81
+
52
82
## Deobfuscation ##
53
83
54
84
If you use [ProGuard](http://developer.android.com/tools/help/proguard.html) to obfuscate your code in production, reported stack traces will not be very useful in most cases.
0 commit comments