# KeepSafe/ReLinker

A robust native library loader for Android.

Repository: https://github.com/KeepSafe/ReLinker
Canonical: https://ross.abutalabs.com/products/relinker
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android, native-libraries, ndk, jni, android-ndk
Last push: 2024-05-02T10:05:29+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3975, "days_push": 853, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3309, forks 373 (observed 2026-08-28T04:07:55.926974+00:00)

## What it is
ReLinker is a Java library for Android that provides a robust replacement for System.loadLibrary, fixing intermittent UnsatisfiedLinkError crashes when loading native (JNI) libraries. It is needed mainly for apps with a minimum SDK below API 23.

## Use cases
- fix UnsatisfiedLinkError crashes when loading native libraries on Android
- reliably load .so native libraries on older Android versions
- replace System.loadLibrary with a more robust loader
- handle intermittent native library loading failures on Android
- support JNI libraries in apps with min SDK below 23

## When to choose
- your Android app bundles native libraries and supports min SDK below API 23
- you see intermittent 'findLibrary returned null' or UnsatisfiedLinkError stack traces in production
- you want a drop-in replacement for System.loadLibrary

## When to avoid
- your app's minimum SDK is API 23 (Marshmallow) or higher, where System.loadLibrary is safe
- native library loading fails consistently, which indicates a configuration issue rather than the intermittent bugs ReLinker fixes
- you are not developing for Android

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, developer-tools
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: android-ndk, jni, native-libraries, library-loading, unsatisfiedlinkerror, android

## Member repositories
- KeepSafe/ReLinker (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:55.926974+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:42:25.362820+00:00, confidence not recorded.
  - readme: https://github.com/KeepSafe/ReLinker (fetched 2026-08-28T04:07:55.926974+00:00, sha 815af89ed668)
- Data as of 2026-08-30T08:39:29.467469+00:00.
