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
This commit is contained in:
itanasi 2022-04-26 22:19:31 -07:00 committed by GitHub
parent 996c58e1fb
commit cf761f4a2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.<init>(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 <whatever version you have>"
@ -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: