mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 23:40:01 +07:00
Update SDK Platforms text. Update photos (#9848)
* Update SDK Platforms text. Update photos * Try to fix link for Markdown Screenshots * Revert to docs link * Try Unciv in file path
This commit is contained in:
@ -16,12 +16,12 @@ By the end of this guide, you will have Unciv running locally from code, so you
|
||||
- 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 12L (Sv2)"
|
||||

|
||||
- Click "Android 13 (Tiramisu)"
|
||||

|
||||
- Click "SDK Tools"
|
||||
- Select "Show Package Details" in the bottom right
|
||||
- Choose version 33.0.2 under "Android SDK Build-Tools"
|
||||

|
||||

|
||||
- Click "Apply"
|
||||
- Restart Android Studio
|
||||
- In Android Studio, Run > Edit configurations (be sure the Gradle sync is finished successfully first).
|
||||
@ -31,7 +31,7 @@ By the end of this guide, you will have Unciv running locally from code, so you
|
||||
- Set the module classpath (the box to the right of the Java selection) to `Unciv.desktop.main` (`Unciv.desktop` for Bumblebee or below), main class to `com.unciv.app.desktop.DesktopLauncher` and `<repo_folder>\android\assets\` as the Working directory, OK to close the window
|
||||
- It _may_ be useful to set some VM options - activate the field in the run config editor with Alt-V or via the Modify Options menu, then add `-Xmx4096m -Xms256m -XX:MaxMetaspaceSize=256m` to allow a debugged game a little more memory. Or, use the `-DnoLog=` or `-DonlyLog=` options to control console logging. See the [Log.kt](https://github.com/yairm210/Unciv/blob/master/core/src/com/unciv/utils/Log.kt) comments for details.
|
||||
- If you get a `../../docs/uniques.md (No such file or directory)` error that means you forgot to set the working directory!
|
||||

|
||||

|
||||
- Select the Desktop configuration (or however you chose to name it) and click the green arrow button to run! Or you can use the next button -the green critter with six legs and two feelers - to start debugging.
|
||||
- A few Android Studio settings that are recommended:
|
||||
- Going to Settings > Version Control > Commit and turning off 'Before Commit - Analyze code'
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 37 KiB |
Binary file not shown.
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 50 KiB |
Reference in New Issue
Block a user