llm-android-cross-build

Official

Build LLMs for Android

AuthorArm-Examples
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of compiling Large Language Models (LLMs) for Android devices, enabling on-device AI capabilities.

Core Features & Use Cases

  • Android Cross-Compilation: Utilizes CMake presets to build LLM libraries specifically for Android's AArch64 architecture.
  • Toolchain Management: Assists in configuring the Android NDK and other necessary build tools.
  • Deployment Workflow: Outlines steps for pushing compiled binaries and models to an Android device via ADB.
  • Use Case: A mobile developer wants to integrate a local LLM for offline text generation on an Android app. This Skill provides the exact commands to build the LLM library for the target platform and deploy it.

Quick Start

Configure the build for Android using the x-android-aarch64 preset and specify the NDK path if needed.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: llm-android-cross-build
Download link: https://github.com/Arm-Examples/LLM-Runner/archive/main.zip#llm-android-cross-build

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.