kandi background
Explore Kits

rollbar-android | Java library for reporting exceptions | Architecture library

 by   rollbar Java Version: v0.2.1 License: No License

 by   rollbar Java Version: v0.2.1 License: No License

Download this library from

kandi X-RAY | rollbar-android Summary

rollbar-android is a Java library typically used in Architecture applications. rollbar-android has no vulnerabilities, it has build file available and it has low support. However rollbar-android has 6 bugs. You can download it from GitHub.
Java library for reporting exceptions, errors, and log messages to Rollbar.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • rollbar-android has a low active ecosystem.
  • It has 43 star(s) with 17 fork(s). There are 40 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 0 open issues and 23 have been closed. On average issues are closed in 111 days. There are no pull requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of rollbar-android is v0.2.1
rollbar-android Support
Best in #Architecture
Average in #Architecture
rollbar-android Support
Best in #Architecture
Average in #Architecture

quality kandi Quality

  • rollbar-android has 6 bugs (2 blocker, 0 critical, 1 major, 3 minor) and 32 code smells.
rollbar-android Quality
Best in #Architecture
Average in #Architecture
rollbar-android Quality
Best in #Architecture
Average in #Architecture

securitySecurity

  • rollbar-android has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • rollbar-android code analysis shows 0 unresolved vulnerabilities.
  • There are 1 security hotspots that need review.
rollbar-android Security
Best in #Architecture
Average in #Architecture
rollbar-android Security
Best in #Architecture
Average in #Architecture

license License

  • rollbar-android does not have a standard license declared.
  • Check the repository for any license declaration and review the terms closely.
  • Without a license, all rights are reserved, and you cannot use the library in your applications.
rollbar-android License
Best in #Architecture
Average in #Architecture
rollbar-android License
Best in #Architecture
Average in #Architecture

buildReuse

  • rollbar-android releases are available to install and integrate.
  • Build file is available. You can build the component from source.
  • Installation instructions, examples and code snippets are available.
  • rollbar-android saves you 403 person hours of effort in developing the same functionality from scratch.
  • It has 958 lines of code, 78 functions and 11 files.
  • It has high code complexity. Code complexity directly impacts maintainability of the code.
rollbar-android Reuse
Best in #Architecture
Average in #Architecture
rollbar-android Reuse
Best in #Architecture
Average in #Architecture
Top functions reviewed by kandi - BETA

kandi has reviewed rollbar-android and discovered the below as its top functions. This is intended to give you an instant insight into rollbar-android implemented functionality, and help decide if they suit your requirements.

  • Converts Throwable to JSONObject
  • Performs HTTP request .
  • Sends a batch of items to a file .
  • Perform a POST request .
  • Reads the response text from the stream .
  • Ensures that the runnable is initialized .
  • Retry the given request .
  • Adds a new item to the queue .
  • Get response text .
  • Sets the uncaught exception level .

rollbar-android Key Features

Rollbar for Android

Maven

copy iconCopydownload iconDownload
<dependencies>
  <dependency>
    <groupId>com.rollbar</groupId>
     <artifactId>rollbar-android</artifactId>
     <version>0.2.1</version>
  </dependency>
</dependencies>

Jar

copy iconCopydownload iconDownload
Rollbar.init(this, "POST_CLIENT_ITEM_ACCESS_TOKEN", "production");

Usage

copy iconCopydownload iconDownload
Rollbar.reportException(new Exception("Test exception")); // default level is "warning"

try {
    amount = Integer.parseInt(data);
} except (NumberFormatException e) {
    // Providing a description for this exception
    Rollbar.reportException(e, "critical", "Unexpected data from server");
}

Deobfuscation

copy iconCopydownload iconDownload
curl 'https://api.rollbar.com/api/1/proguard' \
  -F access_token=POST_SERVER_ITEM_ACCESS_TOKEN \
  -F version=0.0.10 \
  -F mapping=@path/to/mapping.txt

Can't build app on latest android studio 3.0.1

copy iconCopydownload iconDownload
 apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "com.techno.giants.json"
        minSdkVersion 15
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}
 buildscript {

    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'


        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
-----------------------
 apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "com.techno.giants.json"
        minSdkVersion 15
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}
 buildscript {

    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'


        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
-----------------------
-keepattributes SourceFile,LineNumberTable
-keep class com.parse.*{ *; }
-dontwarn com.parse.**
-dontwarn com.squareup.picasso.**
-keepclasseswithmembernames class * {
    native <methods>;
} 
-ignorewarnings

Community Discussions

Trending Discussions on rollbar-android
  • Can't build app on latest android studio 3.0.1
Trending Discussions on rollbar-android

QUESTION

Can't build app on latest android studio 3.0.1

Asked 2017-Dec-14 at 08:45

Has anyone experienced building apps from 3.0.1 and it won't run?

I think this guy here encountered the same issue as mine; Unable to Build Release Apk Android Studio 3.0.1 Proguard-Rules

My app also has ** (tried to apply solution as suggested above) on my proguard rules and I can't remove them as this would cause the app to not build.

PLEASE HELP ME



UPDATE 2

outcomesound's SOLUTION WORKED FOR ME see his answer below

https://stackoverflow.com/a/47809116/4767606



UPDATE 1

I was able to apply Wahdat Kashmiri's answer below; debug version runs fine but when switching the build for release, the app only runs until splash screen and then it crashes.

implementation  fileTree(include: ['*.jar'], dir: 'libs')
implementation ('com.android.support:appcompat-v7:25.3.1') {
   transitive = true;
}
implementation ('de.keyboardsurfer.android.widget:crouton:1.8.5@aar') {
   exclude group: 'com.google.android', module: 'support-v4'
}
implementation('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
   transitive = true;
}
implementation('org.apache.httpcomponents:httpmime:4.3') {
   exclude module: "httpclient"
}
implementation('com.nispok:snackbar:2.11.+') {
   exclude group: 'com.google.android', module: 'support-v4'
}
implementation 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
implementation 'com.facebook.android:facebook-android-sdk:4.26.0'
implementation 'com.android.support:multidex:1.0.2'
implementation 'org.jsoup:jsoup:1.10.2'
implementation 'com.android.volley:volley:1.0.0'
implementation 'com.firebaseui:firebase-ui-auth:3.1.0'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'com.shamanland:fonticon:0.1.9'
implementation 'com.victor:lib:1.0.4'
implementation 'com.google.guava:guava:23.3-android'
implementation 'org.bouncycastle:bcprov-jdk16:1.46'
implementation 'commons-codec:commons-codec:1.10'
implementation 'org.altbeacon:android-beacon-library:2.9.1'
implementation 'ly.count.android:sdk:16.06.04'
implementation 'net.danlew:android.joda:2.9.9.1'
implementation 'com.azoft.carousellayoutmanager:carousel:1.2.1'
implementation 'com.squareup.okhttp3:okhttp:3.9.1'
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
implementation 'com.rollbar:rollbar-android:0.2.1'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.support:support-v4:26.1.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.google.android.gms:play-services-maps:11.4.2'
implementation 'com.google.android.gms:play-services-location:11.4.2'
implementation 'com.google.android.gms:play-services-auth:11.4.2'
implementation 'com.google.android.gms:play-services-analytics:11.4.2'
implementation 'com.google.firebase:firebase-appindexing:11.4.2'
implementation 'com.google.firebase:firebase-messaging:11.4.2'

ANSWER

Answered 2017-Dec-14 at 05:54

Build.gradle

 apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "com.techno.giants.json"
        minSdkVersion 15
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}

Build.gradle roject

 buildscript {

    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'


        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Source https://stackoverflow.com/questions/47806518

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install rollbar-android

Define property sdk.dir which contains path to Android SDK inside local.properties
Make sure you have installed the platform specified in project.properties
E.g. sdk.dir = /Users/coryvirok/Development/adt-bundle-mac-x86_64-20140702/sdk/
Run ant from command line

Support

If you run into any issues, please email us at support@rollbar.com.

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Explore Related Topics

Share this Page

share link
Compare Architecture Libraries with Permissive License
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.