From 9863dcea9eaa197177552f8621091b3e0858cc76 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Tue, 24 Feb 2026 22:50:16 +0100 Subject: gradle: Show an error when Git submodules are not initialized (#1188) * CONTRIBUTING: Document Git submodules * build: Error during build if the submodules are not initialized--- CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 89943a9..f2f37a6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,6 +11,12 @@ Android Studio is not required. The build dependencies are: Python 3 is required to update generated files but not to build the app. +Make sure the Git submodules are initialized and point to the right revision: + +```sh +git submodule update --init +``` + For Android Studio users, no more setup is needed. For Nix users, the right environment can be obtained with `nix-shell ./shell.nix`. -- cgit v1.2.3