mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-12 08:49:22 +07:00
Resolved #9840 - targetSdk set to 33
Due to the upcoming Google Play deadline (see https://support.google.com/googleplay/android-developer/answer/11926878) We're upgrading the target SDK and build tools for Unciv. What this means for you, is that you need to download BOTH the new Android SDK AND the new build tools to compile to Android If you're only doing Desktop development, this will not affect you In Android Studio: - Double-click shift (for search) - "SDK manager" - Go to SDK platforms tab, select Android 13 (Tiramisu) - this will lead to an SDK download - Go to the SDK Tools tab - Click 'show package details' at bottom-right - Click 33.0.2 - this will lead to a Build Tools download
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import com.unciv.build.BuildConfig
|
||||
|
||||
import com.unciv.build.AndroidImagePacker
|
||||
import com.unciv.build.BuildConfig
|
||||
import java.util.Properties
|
||||
|
||||
plugins {
|
||||
@ -8,7 +9,7 @@ plugins {
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk = 32
|
||||
compileSdk = 33
|
||||
sourceSets {
|
||||
getByName("main").apply {
|
||||
manifest.srcFile("AndroidManifest.xml")
|
||||
@ -28,7 +29,7 @@ android {
|
||||
defaultConfig {
|
||||
applicationId = "com.unciv.app"
|
||||
minSdk = 21
|
||||
targetSdk = 32 // See #5044
|
||||
targetSdk = 33 // See #5044
|
||||
versionCode = BuildConfig.appCodeNumber
|
||||
versionName = BuildConfig.appVersion
|
||||
|
||||
@ -73,7 +74,7 @@ android {
|
||||
// Don't add local save files and fonts to release, obviously
|
||||
ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music:!mods"
|
||||
}
|
||||
buildToolsVersion = "32.0.0"
|
||||
buildToolsVersion = "33.0.2"
|
||||
}
|
||||
|
||||
task("texturePacker") {
|
||||
|
Reference in New Issue
Block a user