Nunchuk Android Native SDK is a wrapper for libnunchuk.
For more info on our products, please visit our website.
Java: 11
NDK: 25.1.8937393
minSdkVersion: 21
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
pushd ${PWD}/src/main/native
git submodule add --force -b main https://github.com/nunchuk-io/libnunchuk.git
git submodule update --init --recursive
sh .install_deps.sh arm64-v8a
popd
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH
export ANDROID_SDK=/Users/${USER}/Library/Android/sdk
export ANDROID_SDK_HOME=/Users/${USER}/Library/Android/sdk
export ANDROID_SDK_ROOT=/Users/${USER}/Library/Android/sdk
export ANDROID_HOME=/Users/${USER}/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
export ANDROID_NDK_HOME=/Users/${USER}/Library/Android/sdk/ndk/25.1.8937393
./gradlew clean assembleArm64_v8aRelease --stacktrace
./gradlew publish