Back to Revanced Manager

🛠️ Build from source

docs/4_building.md

2.6.01.1 KB
Original Source

🛠️ Build from source

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

  1. Install Java Development Kit 17 (e.g. Temurin JDK)

    Using WinGet: sh winget install EclipseAdoptium.Temurin.17.JDK

    Using SDKMAN!:

    sh
    sdk install java 17.0.18-tem
    
  2. Clone the repository

    sh
    git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager
    
  3. Build the APK

    sh
    ./gradlew assembleRelease
    

[!NOTE] If the build fails due to authentication, you may need to authenticate to GitHub Packages. Create a personal access tokens with the scope read:packages here and add your token to ~/.gradle/gradle.properties. Create the file if it does not exist.

Example gradle.properties file:

properties
githubPackagesUsername = <GitHub username>
githubPackagesPassword = <Personal access token>