Skip to content

Android NDK

Google · Native Android development tools for compiling C and C++, debugging native libraries and integrating them into Android apps.

CaskDeveloper Tools 2.3K
Install command
brew install --cask android-ndk
30-day installs
534
#445 in App
1-year installs
7.4K
Last 365 days
Latest version
30
Download size
1.1GB
dmg
Release cadence
Monthly
0 releases in 30 days

About

The Android Native Development Kit is a toolchain for building C and C++ components for Android applications. It is intended for native-code developers, game developers and teams maintaining performance-sensitive or portable libraries, rather than users seeking a standalone desktop application.

Features

  • Compile native Android libraries with the NDK's LLVM/Clang toolchain and platform headers.
  • Build with ndk-build or integrate native libraries through CMake and Gradle.
  • Target supported Android ABIs and API levels using supplied sysroots.
  • Debug native code through Android Studio's LLDB integration and command-line tools.
  • Resolve native crash stacks with ndk-stack and inspect runtime performance with relevant profiling tools.

Installation and dependencies

Google recommends installing the NDK through Android Studio's SDK Manager, which supports side-by-side versions. Direct downloads are available as a notarized macOS DMG; this catalog cask can be installed with brew install --cask android-ndk. The r30 DMG is 1,072,970,961 bytes, independently confirmed by Google's download table and an HTTP HEAD request to the exact asset. Installed toolchains, SDK components, build products and debug symbols require additional space.

Pin the project's NDK version using the Android Gradle plugin's ndkVersion setting to maintain reproducible builds. CMake is needed for a CMake-based build, but not for a project using only ndk-build. Gradle, an appropriate Android SDK and a compatible Java runtime are separate project dependencies. Android Studio supplies the LLDB debugger for its native debugging workflow. Building or testing Android applications may additionally require a configured emulator or physical device. The checked direct-download page and fresh cask metadata do not establish a precise minimum host macOS version or CPU architecture requirement for every r30 tool, so those are not inferred from Android Studio's separate requirements.

Accounts, permissions and license

The toolchain download is available under Google's Android SDK License Agreement, with included open-source components governed by their respective licenses. The download is not a paid subscription; publishing or using separate hosted services can involve separate accounts and terms. A Google account is not documented as necessary to run local NDK compilation. Network access is needed for downloading tools and dependencies; a prepared local build can run offline if its build scripts and dependencies permit it.

The NDK does not need blanket desktop-control permissions to compile files. It needs access to project sources, build directories and configured SDK locations. Debugging and device workflows have their own authorization steps. This toolkit has no standalone graphical interface: the accompanying screenshot is Google's Android Studio SDK Manager documentation showing how to select the NDK, not an invented NDK app window. The icon uses official Android Developers branding, not a claimed NDK-specific application icon.

Practical cautions

Native code can introduce memory-safety issues and ABI compatibility problems. Test on relevant devices, API levels and page-size configurations, and do not assume a newer compiler preserves every project's behavior. Review build scripts before running them because builds can execute arbitrary tools. Keep project toolchain versions explicit and validate release builds, symbol stripping and native dependencies before distributing an application. Version updates can change compiler diagnostics, runtime libraries and supported tool behavior.

Sources: Official NDK overview, Official downloads and license, Official installation guide, Official r30 changelog, Official r29 changelog, Official r28 changelog.

At a glance

Chip
Apple silicon · Intel
Auto-updates
No
Repository
GitHub repository · Updated 12 days ago★2.3K
Developer
Google
Homebrew
Available; updated by Homebrew
Also known as
android-ndk
Homepage
developer.android.com/ndk/index.html
Token
android-ndk

Checked

What’s new in 30

New · OpenNavo editorial

  • ChangesUpdates LLVM to clang-r574158c.

How to install Android NDK on Mac

Install without Homebrew

Download the same file Homebrew uses: Install Details

Uninstall Android NDK and optional data cleanup

Uninstall command
brew uninstall --cask android-ndk

A regular uninstall removes the app and keeps its settings and caches.

Questions about Android NDK

Is Android NDK safe?

Android NDK is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from dl.google.com against its SHA-256 checksum. It was installed 534 times through Homebrew in the last 30 days.

Does Android NDK have a public GitHub repository?

Android NDK has a public GitHub repository (https://github.com/android/ndk), but OpenNavo has not verified an OSI license.

How do I completely uninstall Android NDK on a Mac?

Run brew uninstall --cask android-ndk.

Does Android NDK run on Apple silicon (M1 and later) Macs?

Homebrew installs it on both Apple silicon and Intel Macs, from the same download.

What is the latest version of Android NDK?

The latest version is 30, added to Homebrew on Sep 9, 2026. Run brew upgrade --cask android-ndk to update it.

Similar Apps

  • Beyond CompareCompare files and folders, review differences, merge selected changes and synchronize local or remote data.
  • Microsoft Azure Storage ExplorerMicrosoft’s desktop tool for browsing and managing Azure storage resources, transferring data and connecting through supported account or resource credentials.
  • GoLandJetBrains IDE for Go development with code completion, refactoring, inspections, project navigation, integrated running and debugging.
  • .NET SDK 10Microsoft's free SDK for building and running .NET 10 apps on a Mac.
Browse all apps