From 4c04970b2de9956039b6aa5e255dd02dd2bc1a1b Mon Sep 17 00:00:00 2001 From: XProger Date: Mon, 15 Mar 2021 23:09:36 +0300 Subject: [PATCH] fix android 11 support --- src/platform/android/app/build.gradle | 6 +++--- src/platform/android/app/src/main/AndroidManifest.xml | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/platform/android/app/build.gradle b/src/platform/android/app/build.gradle index cfe0ce6..c55e5f6 100644 --- a/src/platform/android/app/build.gradle +++ b/src/platform/android/app/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 26 - buildToolsVersion '26.0.2' + compileSdkVersion 30 + buildToolsVersion '30.0.0' defaultConfig { applicationId "com.xproger.openlara" minSdkVersion 19 - targetSdkVersion 18 + targetSdkVersion 30 versionCode 1 versionName "0.1" ndk { diff --git a/src/platform/android/app/src/main/AndroidManifest.xml b/src/platform/android/app/src/main/AndroidManifest.xml index 3bf325d..bea39b1 100644 --- a/src/platform/android/app/src/main/AndroidManifest.xml +++ b/src/platform/android/app/src/main/AndroidManifest.xml @@ -3,7 +3,7 @@ android:versionCode="1" android:versionName="0.1" > - + @@ -13,13 +13,15 @@ --> + + android:isGame="true" + android:requestLegacyExternalStorage="true">