Skip to main content
Run any Skill in Manus
with one click

native-addon-loading

Stars1
Forks0
UpdatedJune 25, 2026 at 10:17

Diagnose and fix native (C/C++) Node.js addon loading in this repo's embedded nodejs-mobile runtime — the rolled-up backend's `__loadAddon` helper, Android `jniLibs/lib<name>__<version>.so` (bare-name dlopen from the APK mmap), and iOS `<name>__<version>.xcframework` (Embed & Sign into the .app). Use when a native module fails to load at runtime, when you see `dlopen`, `UnsatisfiedLinkError`, `cannot locate symbol`, `Library not loaded`, `image not found`, `code signature`, a `p_align`/16 KB alignment APK reject, or a prebuild-download/404 from `scripts/build-backend.ts`; or when touching `sodium-native`, `better-sqlite3`, `crc-native`, `quickbit-native`, `rabin-native`, `simdle-native`, `fs-native-extensions`, the rollup addon-loader plugin, `jniLibs`, or `ios/Frameworks`.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly