2023-06-07 12:01:36 +02:00
|
|
|
# 🛠️ Building from source
|
|
|
|
|
|
|
|
This page will guide you through building ReVanced Manager from source.
|
|
|
|
|
|
|
|
1. Setup the Flutter environment for your [platform](https://docs.flutter.dev/get-started/install)
|
|
|
|
|
|
|
|
2. Clone the repository
|
|
|
|
|
|
|
|
```sh
|
|
|
|
git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager
|
|
|
|
```
|
2023-10-28 13:57:54 +02:00
|
|
|
3. Get dependencies
|
2023-06-07 12:01:36 +02:00
|
|
|
|
|
|
|
```sh
|
|
|
|
flutter pub get
|
|
|
|
```
|
|
|
|
|
2023-10-28 13:57:54 +02:00
|
|
|
4. Delete conflicting outputs
|
2023-06-07 12:01:36 +02:00
|
|
|
|
|
|
|
```sh
|
2023-11-11 11:14:54 +01:00
|
|
|
dart run build_runner build --delete-conflicting-outputs
|
2023-06-07 12:01:36 +02:00
|
|
|
```
|
|
|
|
|
2023-10-15 13:04:19 +02:00
|
|
|
> [!Note]
|
|
|
|
> Must be run every time you sync your local repository with the remote repository.
|
2023-06-07 12:01:36 +02:00
|
|
|
|
2023-10-28 13:57:54 +02:00
|
|
|
5. Build the APK
|
2023-06-07 12:01:36 +02:00
|
|
|
|
|
|
|
```sh
|
|
|
|
flutter build apk
|
|
|
|
```
|