Resolved #7666 - updated build documentation to build-tools version

This commit is contained in:
Yair Morgenstern 2022-08-15 18:31:03 +03:00 committed by GitHub
parent b20fd27d42
commit 2b168573e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,10 +15,10 @@ So first things first - the initial "No assumptions" setup to have Unciv run fro
- 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 "Android 12.0"
- 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>"
- Choose version 32.0.0 under "Android SDK Build-Tools"
- Click "Apply"
- In Android Studio, Run > Edit configurations (be sure the Gradle sync is finished successfully first).
- Click "+" to add a new configuration