Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1006 Bytes

4_building.md

File metadata and controls

38 lines (26 loc) · 1006 Bytes

🛠️ Building from source

This page will guide you through building ReVanced Manager from source.

  1. Download Java SDK 17 (Azul JDK or OpenJDK) and add it to path

  2. Clone the repository

    git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager
  3. Create a GitHub personal access token with the read:packages scope here

  4. Add your GitHub username and the token to ~/.gradle/gradle.properties

    gpr.user = YourUsername
    gpr.key = ghp_longrandomkey
  5. Set the sdk.dir property in local.properties to your Android SDK location

    sdk.dir = /path/to/android/sdk
  6. Build the APK

    Debug:

    ./gradlew assembleDebug

    Release:

    ./gradlew assembleRelease -Psign