Skip to content

Use Google's Prefab standard as format for Android prebuilds #324

@kraenhansen

Description

@kraenhansen

Discussed in #319

Originally posted by kraenhansen November 5, 2025
We're currently expecting Android prebuilds to be distributed as "jni-libs like" directories of architecture specific directories.

This has a few drawbacks:

  • It doesn't provide an obvious way to distribute headers alongside the shared object files.
  • It provides no way to distribute information on dependencies and STL ABI expected by the library.

These shortcomings are all address by Google's Prefab standard and I suggest we adopt this for React-Native Node-API prebuilds for Android.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android 🤖Anything related to the Android platform (Gradle, NDK, Android SDK)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions