From 408667f597a5f77e4b092666de45771855ca5fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 15 Aug 2020 12:57:08 +0200 Subject: [PATCH] Android: Target API level 29 as required by Google Play This is required for new apps since August 3, 2020: https://support.google.com/googleplay/android-developer/answer/113469#targetsdk --- platform/android/AndroidManifest.xml.template | 2 +- platform/android/SCsub | 2 +- platform/android/build.gradle.template | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/android/AndroidManifest.xml.template b/platform/android/AndroidManifest.xml.template index 5f843b9d83..c4281cb6c3 100644 --- a/platform/android/AndroidManifest.xml.template +++ b/platform/android/AndroidManifest.xml.template @@ -36,6 +36,6 @@ $$ADD_APPLICATION_CHUNKS$$ $$ADD_PERMISSION_CHUNKS$$ - + diff --git a/platform/android/SCsub b/platform/android/SCsub index b4a9d02c89..f104783905 100644 --- a/platform/android/SCsub +++ b/platform/android/SCsub @@ -105,7 +105,7 @@ gradle_asset_dirs_text = "" gradle_default_config_text = "" minSdk = 18 -targetSdk = 28 +targetSdk = 29 for x in env.android_default_config: if x.startswith("minSdkVersion") and int(x.split(" ")[-1]) < minSdk: diff --git a/platform/android/build.gradle.template b/platform/android/build.gradle.template index cc6c155428..2a33c97ea3 100644 --- a/platform/android/build.gradle.template +++ b/platform/android/build.gradle.template @@ -31,8 +31,8 @@ android { disable 'MissingTranslation' } - compileSdkVersion 28 - buildToolsVersion "28.0.3" + compileSdkVersion 29 + buildToolsVersion "29.0.3" useLibrary 'org.apache.http.legacy' packagingOptions {