Skip to content

A Sentry SDK for Java, Android and other JVM languages.

License

Notifications You must be signed in to change notification settings

LiquidCrystalStudios/sentry-java

 
 

Repository files navigation


Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

Sentry SDK for Java and Android

GH Workflow codecov Discord Chat

Packages Maven Central Android API
sentry-android Maven Central 16
sentry-android-core Maven Central 14
sentry-android-ndk Maven Central 16
sentry-android-okhttp Maven Central 21
sentry-android-timber Maven Central 14
sentry-apache-http-client-5 Maven Central
sentry Maven Central 14
sentry-jul Maven Central
sentry-servlet Maven Central
sentry-spring-boot-starter Maven Central
sentry-spring Maven Central
sentry-logback Maven Central
sentry-log4j2 Maven Central

Useful links and docs

Current Javadocs generated from source code.

Java SDK version 1.x can still be found here.

Migration page from sentry-android 1.x and 2.x to sentry-android 4.x.

Migration page from sentry 1.x to sentry 4.x.

Releases from sentry-android 2.x and its changelogs.

Sentry Android Gradle Plugin repo sits on another repo

Blog posts

New Android SDK How-to.

Adding Native support to our Android SDK.

How to use Sentry Attachments with Mobile Applications.

Performance Monitoring for Android Applications.

Close the Loop with User Feedback.

A Sanity Listicle for Mobile Developers.

Supporting Native Android Libraries Loaded From APKs.

Samples

Sample App. with Sentry Android SDK and Sentry Gradle Plugin.

Sample App. with Sentry Java SDK.

Sample for Development.

Development

This repository includes sentry-native as a git submodule. To build against sentry-native checked-out elsewhere in your file system, create a symlink sentry-android-ndk/sentry-native-local that points to your sentry-native directory. For example, if you had sentry-native checked-out in a sibling directory to this repo:

ln -s ../../sentry-native sentry-android-ndk/sentry-native-local

which will be picked up by gradle and used instead of the git submodule. This directory is also included in .gitignore not to be shown as pending changes.

Sentry Self Hosted Compatibility

Since version 3.0.0 of this SDK, Sentry version >= v20.6.0 is required. This only applies to on-premise Sentry, if you are using sentry.io no action is needed.

Resources

  • Java Documentation
  • Android Documentation
  • Forum
  • Discord Chat
  • Stack Overflow
  • Code of Conduct
  • Twitter Follow

About

A Sentry SDK for Java, Android and other JVM languages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 51.8%
  • Kotlin 47.0%
  • C 0.9%
  • JavaScript 0.1%
  • Makefile 0.1%
  • CMake 0.1%