sentry-android-sdk

Integrate Sentry SDK for Android error reporting, ANR detection, and performance tracing.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Himanshu040604/codex-skills-setup --skill sentry-android-sdk-himanshu040604
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-android-sdk
Source: https://github.com/Himanshu040604/codex-skills-setup/tree/main/assets/codex/skills/claude-import/skills/plugins/sentry%40claude-plugins-official/skills/sentry-android-sdk
Command: npx skills add https://github.com/Himanshu040604/codex-skills-setup --skill sentry-android-sdk-himanshu040604

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you automatically detect, diagnose, and resolve errors, ANRs, and performance issues in your Android applications, ensuring a smoother user experience.

Core Features & Use Cases

  • Error Monitoring: Automatically captures uncaught exceptions, ANRs, and native crashes.
  • Performance Tracing: Instruments network requests, database queries, and UI lifecycles to identify bottlenecks.
  • Session Replay: Records user sessions (on API 26+) to visually debug issues.
  • Use Case: Your app is experiencing a high crash rate on a specific Android version. This Skill helps you pinpoint the exact error, see the user's interaction leading up to it via Session Replay, and analyze performance data to find the root cause.

Quick Start

Use the sentry-android-sdk skill to set up basic error monitoring and performance tracing for your Android application.

Frequently Asked Questions about sentry-android-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Sentry crash reporting and performance monitoring for my Android app?

Android performance tracing with Sentry instruments network requests, database queries, and UI lifecycles automatically. You can also create manual spans and propagate distributed tracing headers to identify bottlenecks across your application architecture.

Can Sentry capture native NDK crashes and ANRs on Android?

Sentry captures Android NDK crashes and Application Not Responding (ANR) events natively. You need to enable the optional NDK feature during configuration to ensure comprehensive native crash reporting alongside standard Java exceptions.

Does Sentry session replay work for debugging Android user interactions?

Sentry session replay records user sessions on Android API 26 and above. This visually reproduces the exact user interactions leading up to an error or crash, allowing you to visually debug issues and pinpoint root causes faster.

What configuration is required to start tracking errors with the Sentry Android SDK?

Configuring Sentry error tracking requires your project DSN and setting transaction sampling rates. You can also enable optional features like NDK crash capture and Session Replay to expand monitoring coverage across your application.

How do I trace database queries and network requests in my Android application?

Android performance tracing with Sentry instruments network requests, database queries, and UI lifecycles automatically. You can also create manual spans and propagate distributed tracing headers to identify bottlenecks across your application architecture.