Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.31 KB

BUILD.md

File metadata and controls

53 lines (36 loc) · 1.31 KB

Build locally

Requirements

Instructions

  1. Ensure the environment variable ANDROID_NDK_HOME points to your NDK installation directory.
  2. Run:
    tools/bootstrap-gomobile.sh
    tools/libwallet-android.sh
    ./gradlew :android:apolloui:assembleProdRelease

Build reproducibly

Requirements

Instructions

  1. Ensure Docker has at least 5 GB of RAM and run:
    mkdir -p apk
    DOCKER_BUILDKIT=1 docker build -f android/Dockerfile -o apk .

Verify an existing APK

Requirements

Instructions

  1. Obtain the APK from your phone by connecting it to the computer and running:
    adb pull $(adb shell pm path io.muun.apollo | grep "/base.apk" | sed 's/^package://') apollo-play.apk
  2. Checkout the commit that corresponds to the version of the app you want to verify.
  3. Ensure Docker has at least 5 GB of RAM and run:
    tools/verify-apollo.sh <path-to-verify.apk>