summaryrefslogtreecommitdiff
path: root/platform/android/export
diff options
context:
space:
mode:
authorGustavo Maciel <gustamaciel2012@hotmail.com>2022-06-21 23:46:31 -0300
committerGustavo Maciel <gustamaciel2012@hotmail.com>2022-06-23 15:17:15 +0200
commitec6d5d6cba85ee1eb3a058ca04f5b4feef389dd9 (patch)
treefea6a7fe2ebebf44bf9aaa01022db8de6463b320 /platform/android/export
parent1c54057933d76b566929a3a820015e84aea1d6d6 (diff)
Update android:targetSdkVersion from 30 to 31
Starting in August 2022, new apps will need to target API level 31 (Android 12) or higher and adjust for behavioral changes. Read more here: https://developer.android.com/google/play/requirements/target-sdk
Diffstat (limited to 'platform/android/export')
-rw-r--r--platform/android/export/export_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp
index 73c6fcc7e8..b40c1f5090 100644
--- a/platform/android/export/export_plugin.cpp
+++ b/platform/android/export/export_plugin.cpp
@@ -245,7 +245,7 @@ static const char *APK_ASSETS_DIRECTORY = "res://android/build/assets";
static const char *AAB_ASSETS_DIRECTORY = "res://android/build/assetPacks/installTime/src/main/assets";
static const int DEFAULT_MIN_SDK_VERSION = 19; // Should match the value in 'platform/android/java/app/config.gradle#minSdk'
-static const int DEFAULT_TARGET_SDK_VERSION = 30; // Should match the value in 'platform/android/java/app/config.gradle#targetSdk'
+static const int DEFAULT_TARGET_SDK_VERSION = 31; // Should match the value in 'platform/android/java/app/config.gradle#targetSdk'
const String SDK_VERSION_RANGE = vformat("%s,%s,1", DEFAULT_MIN_SDK_VERSION, DEFAULT_TARGET_SDK_VERSION);
void EditorExportPlatformAndroid::_check_for_changes_poll_thread(void *ud) {