Ross ROSS = Recommend OSS · open-source software intelligence for agents

android-notes/Cockroach

降低Android非必要crash observed · 2026-08-28

github.com/android-notes/Cockroach · Java · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3487
  • days_rel: n/a
  • days_push: 1193
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3255 stars · 449 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Cockroach is an Android library (Java) that prevents unnecessary app crashes by intercepting exceptions thrown in the main thread's message loop and rescuing the app instead of letting Android's default handler kill the process. It is aimed at non-fatal bugs—such as device-specific system quirks or errors inside onClick handlers and third-party SDK initialization—where silently ignoring the exception is better than crashing the whole app.

Use cases

  • prevent android app from crashing on uncaught exceptions
  • catch main thread exceptions in android app
  • reduce crash rate of my android app
  • ignore non-fatal exceptions instead of killing the process
  • global exception handler library for android
  • keep app running when startActivity throws
  • handle third-party sdk init crashes gracefully

When to choose

  • You want an app-level safety net so exceptions in click callbacks, lifecycle code, or third-party SDK init don't kill the whole app
  • Your crash reports show device-specific or system bugs that cannot be fixed in code and are safe to swallow
  • You need to reduce crash rate for non-critical features where a crash is worse than a skipped action

When to avoid

  • You need to surface and fix root causes rather than mask potentially serious bugs behind silent exception swallowing
  • Exceptions thrown during view measure/layout/draw or RecyclerView ViewHolder binding can leave the UI (ViewRootImpl) in a broken state
  • You are looking for crash reporting/analytics rather than crash prevention

Facets

library · maturity stable

error-handling mobile-development android-tools crash-prevention exception-handling fault-tolerance main-thread uncaught-exception android-library app-stability crash-handler android

1 source

Member repositories

RepositoryRoleHealth v2
android-notes/Cockroachmain23

For agents

markdown · JSON · MCP: product_card(name="android-notes/Cockroach")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem