This guide walks through the steps to build Frida-core for Android ARM64.
Ensure you have the necessary development tools installed on your macOS system.
First, locate your available code signing identities:
security find-identity -v -p codesigningThis will list all available code signing certificates. Find the one you want to use and note its identifier.
Set the MACOS_CERTID environment variable with your certificate identifier:
export MACOS_CERTID="<your-certificate-id>"Replace <your-certificate-id> with the actual identifier from step 1.
Set the ANDROID_NDK_ROOT environment variable to your r25 NDK installation path:
export ANDROID_NDK_ROOT=/Users/'<abc>'/Library/Android/sdk/ndk/25.2.9519653Run the configure script targeting Android ARM64:
./configure --host=android-arm64Compile Frida-core using make:
makeThis may take several minutes depending on your system.
Once the build completes successfully, the compiled frida-server binary will be located at:
build/server/frida-server
You can now use this binary on your Android ARM64 device.