Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 905 Bytes

4_building.md

File metadata and controls

41 lines (30 loc) · 905 Bytes

🛠️ Building from source

Learn how to build ReVanced Manager from source.

  1. Setup the Flutter environment for your platform

  2. Clone the repository

    git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager
  3. Get dependencies

    flutter pub get
  4. Generate temporary files

    dart run slang
    dart run build_runner build -d
  5. Build the APK

    flutter build apk

Note

If the build fails due to authentication, you may need to authenticate to GitHub Packages. Create a PAT with the scope read:packages here and add your token to ~/.gradle/gradle.properties.

Example gradle.properties file:

gpr.user = user
gpr.key = key