From cf761f4a2c20d13e23b25d85260a350d6f26f75f Mon Sep 17 00:00:00 2001 From: itanasi <44038014+itanasi@users.noreply.github.com> Date: Tue, 26 Apr 2022 22:19:31 -0700 Subject: [PATCH] Update to note you need Android 11.0 SDK Platform (#6611) * Update to note you need Android 11.0 SDK Platform * Also mention which version of Gradle we're on --- docs/Developers/Building-Locally.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/Developers/Building-Locally.md b/docs/Developers/Building-Locally.md index 1d8f20cca7..e7656cc391 100644 --- a/docs/Developers/Building-Locally.md +++ b/docs/Developers/Building-Locally.md @@ -14,6 +14,8 @@ So first things first - the initial "No assumptions" setup to have Unciv run fro - Clone your fork with git - the location will be https://github.com/YourUsername/Unciv.git, visible from the green "Clone or download" button at https://github.com/YourUsername/Unciv - Load the project in Android Studio, Gradle will attempt the initial sync. If this is your first time with Android Studio, this may require you to accept the Android Build-tools licenses, which works differently on every device, so search for your OS-specific solution. - A new install may not be able to do the initial sync - this comes in the form of `Unable to find method ''void org.apache.commons.compress.archivers.zip.ZipFile.(java.nio.channels.SeekableByteChannel)''` errors when you try to sync. If you have this problem go into File > Settings > Appearance & Behavior > System Settings > Android SDK + - Click "SDK Platforms" + - Click "Android 11.0 (R)" - Click "SDK Tools" - Select "Show Package Details" in the bottom right - Choose version 30.0.3 under "Android SDK Build-Tools " @@ -28,6 +30,8 @@ So first things first - the initial "No assumptions" setup to have Unciv run fro Unciv uses Gradle to specify dependencies and how to run. In the background, the Gradle gnomes will be off fetching the packages (a one-time effort) and, once that's done, will build the project! +Unciv uses Grade 7.2 and the Android Gradle Plugin 7.1.0 + ## Without Android Studio If you also have JDK 11 installed, you can compile Unciv on your own by cloning (or downloading and unzipping) the project, opening a terminal in the Unciv folder and run the following commands: