Android NDK & SDK Archives
Complete collection of historical Android build tools, from legacy versions to LTS releases.
Android NDK History
Native Development Kit for C/C++ development
Android SDK Command-line Tools
Build and package management tools
Environment Setup Guide
Windows Configuration
1. Extract to a path without Chinese characters or spaces, e.g. D:\Android\
2. System Properties > Advanced > Environment Variables, and add the following system variables:
SDK (Command line tools)
ANDROID_HOME = D:\Android\cmdline-tools
NDK (Adjust based on your version)
ANDROID_NDK_HOME = D:\Android\android-ndk-r26d
3. Add the following to your Path variable:
%ANDROID_HOME%\latest\bin
%ANDROID_NDK_HOME%
macOS / Linux Configuration
1. Recommended to extract to ~/Library/Android/ or ~/Android/
2. Edit your Shell configuration file, usually ~/.zshrc or ~/.bash_profile:
# Android SDK Tools
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
# Android NDK
export ANDROID_NDK_HOME=$HOME/Library/Android/sdk/ndk/26.3.11579264
export PATH=$PATH:$ANDROID_NDK_HOME
3. Refresh environment variables:
source ~/.zshrc