mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
1006 B
1006 B
🛠️ Building from source
This page will guide you through building ReVanced Manager from source.
-
Download Java SDK 17 (Azul JDK or OpenJDK) and add it to path
-
Clone the repository
git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager
-
Create a GitHub personal access token with the
read:packages
scope here -
Add your GitHub username and the token to
~/.gradle/gradle.properties
gpr.user = YourUsername gpr.key = ghp_longrandomkey
-
Set the
sdk.dir
property inlocal.properties
to your Android SDK locationsdk.dir = /path/to/android/sdk
-
Build the APK
Debug:
./gradlew assembleDebug
Release:
./gradlew assembleRelease -Psign