From 3e8650761b424a5f98d9cca2094102d0a4774cbd Mon Sep 17 00:00:00 2001 From: iProgramInCpp Date: Fri, 3 Nov 2023 23:55:26 +0200 Subject: [PATCH] * Android: Lower SDK version to 21, like the VS project that preceded it. A temporary solution for the navbar issue. --- platforms/android/project/app/build.gradle | 6 ++++-- platforms/android/project/app/src/main/AndroidManifest.xml | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/platforms/android/project/app/build.gradle b/platforms/android/project/app/build.gradle index ac45941..e1299ea 100644 --- a/platforms/android/project/app/build.gradle +++ b/platforms/android/project/app/build.gradle @@ -4,7 +4,7 @@ plugins { android { namespace 'com.reminecraftpe' - compileSdk 34 + compileSdk 21 // Employ a hack which copies the assets folder in to the local assets folder. task CopyAssets(type: Copy) { @@ -20,7 +20,9 @@ android { defaultConfig { applicationId "com.reminecraftpe" minSdk 16 - targetSdk 31 + // Don't inspect the target SDK. You'd better not intend to upload this to the Google Play Store. + //noinspection ExpiredTargetSdkVersion + targetSdk 21 versionCode 1 versionName "1.0" diff --git a/platforms/android/project/app/src/main/AndroidManifest.xml b/platforms/android/project/app/src/main/AndroidManifest.xml index 1560ebe..513a5bc 100644 --- a/platforms/android/project/app/src/main/AndroidManifest.xml +++ b/platforms/android/project/app/src/main/AndroidManifest.xml @@ -3,10 +3,11 @@ xmlns:tools="http://schemas.android.com/tools"> - +