Nunchuk Android Native SDK is a wrapper for libnunchuk.
For more info on our products, please visit our website.
NDK: 27.2.12479018
minSdkVersion: 24
The Xcode Command Line Tools are a collection of build tools for macOS. These tools must be installed in order to build Bitcoin Core from source.
To install, run the following command from your terminal:
xcode-select --install
Upon running the command, you should see a popup appear.
Click on Install
to continue the installation process.
Homebrew is a package manager for macOS that allows one to install packages from the command line easily. To install the Homebrew package manager, see: https://brew.sh
Note: If you run into issues while installing Homebrew or pulling packages, refer to Homebrew's troubleshooting page.
Run the following from your terminal:
brew install automake libtool boost pkg-config libevent
Ensure the following packages are installed on your system:
make automake ninja-build libtool pkg-config git openjdk-17-jdk
pushd ${PWD}/src/main/native
git submodule add --force -b main https://github.com/nunchuk-io/libnunchuk.git
git submodule update --init --recursive
bash .install_deps.sh
popd
export ANDROID_SDK=/path/to/your/android/sdk
export ANDROID_NDK_HOME=/path/to/your/android/sdk/ndk/27.2.12479018
# On Mac OS, the default paths are:
export ANDROID_SDK=/Users/${USER}/Library/Android/sdk
export ANDROID_NDK_HOME=/Users/${USER}/Library/Android/sdk/ndk/27.2.12479018
# On Linux, the default paths are:
export ANDROID_SDK=$HOME/Android/Sdk
export ANDROID_NDK_HOME=$HOME/Android/Sdk/ndk/27.2.12479018
./gradlew clean assembleArmRelease --stacktrace
./gradlew publish