revanced-manager/docs/4_building.md
oSumAtrIX d030b0af70
docs: init (#911)
Co-authored-by: afn <_@afn.lol>
2023-06-07 12:01:36 +02:00

987 B

🛠️ Building from source

This page will guide you through building 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. 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. Get dependencies

    flutter pub get
    
  6. Delete conflicting outputs

    flutter packages pub run build_runner build --delete-conflicting-outputs
    

    Note

    : Must be run every time you sync your local repository with the remote repository.

  7. Build the APK

    flutter build apk