revanced-manager/docs/4_building.md

38 lines
716 B
Markdown
Raw Normal View History

# 🛠️ Building from source
This page will guide you through building ReVanced Manager from source.
2023-12-09 05:47:26 +01:00
1\. Setup the Flutter environment for your [platform](https://docs.flutter.dev/get-started/install)
2023-12-09 05:47:26 +01:00
2\. Clone the repository
```sh
git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager
```
2023-12-09 05:47:26 +01:00
3\. Get dependencies
```sh
flutter pub get
```
4\. Generate translation file
```sh
dart run slang
```
5\. Delete conflicting outputs
2023-12-09 05:47:26 +01:00
> [!TIP]
> Must be run every time you sync your local repository with the remote repository.
```sh
2023-11-11 11:14:54 +01:00
dart run build_runner build --delete-conflicting-outputs
```
6\. Build the APK
```sh
flutter build apk
```