From 2e0cc86345bbae897fa80b1be30f2aabf9089eb6 Mon Sep 17 00:00:00 2001 From: Miguel Horta Date: Thu, 30 Jun 2022 19:25:30 +0100 Subject: [PATCH] Pin ndkVersion Without indicating ndkVersion gradle won't find ndk path and it will fail to extract debug symbols from binaries. The final result will be a apk much bigger than needed. --- project/app/build-template.gradle | 1 + project/jni/application/openttd/AndroidAppSettings.cfg | 4 ++-- project/settings.gradle | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project/app/build-template.gradle b/project/app/build-template.gradle index 200d77d78..ff24888b2 100644 --- a/project/app/build-template.gradle +++ b/project/app/build-template.gradle @@ -4,6 +4,7 @@ plugins { android { compileSdk 31 + ndkVersion "23.1.7779620" defaultConfig { applicationId "net.olofson.ballfield" diff --git a/project/jni/application/openttd/AndroidAppSettings.cfg b/project/jni/application/openttd/AndroidAppSettings.cfg index b2954918e..5400208fe 100644 --- a/project/jni/application/openttd/AndroidAppSettings.cfg +++ b/project/jni/application/openttd/AndroidAppSettings.cfg @@ -7,10 +7,10 @@ AppName="OpenTTD" AppFullName=org.openttd.fdroid # Application version code (integer) -AppVersionCode=1220111 +AppVersionCode=1220112 # Application user-visible version name (string) -AppVersionName="12.2.rev111" +AppVersionName="12.2.rev112" # Specify path to download application data in zip archive in the form 'Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...' # If you'll start Description with '!' symbol it will be enabled by default, '!!' will also hide the entry from the menu, so it cannot be disabled diff --git a/project/settings.gradle b/project/settings.gradle index f5188ce31..ea1f3c29c 100644 --- a/project/settings.gradle +++ b/project/settings.gradle @@ -3,7 +3,6 @@ dependencyResolutionManagement { repositories { google() mavenCentral() - jcenter() // Warning: this repository is going to shut down soon } } include ':app'