What problem does it solve?
This Skill helps you set up, review, and troubleshoot Android NDK native library integration so C and C++ code builds cleanly with Android projects and AOSP modules.
Core Features & Use Cases
- Gradle and CMake Setup: Configure external native builds, library targets, include paths, and Android-friendly CMake options.
- AOSP Soong Integration: Define cc_library_shared and prebuilt shared libraries in Android.bp for platform builds.
- Runtime Loading and Debugging: Load native libraries from Java or Kotlin, choose ABI filters and STL settings, and diagnose missing-library or crash issues.
- Use Case: A developer adding an audio processing library to an Android app can use this Skill to select arm64-v8a, link log and android system libraries, and expose native methods through System.loadLibrary.
Quick Start
Ask for a complete Android NDK integration plan for your module, including Gradle or Soong setup, ABI selection, STL choice, and native library loading guidance.