diff --git a/templates/android/template/app/src/main/AndroidManifest.xml b/templates/android/template/app/src/main/AndroidManifest.xml index 73a2b61ae..9ee1587e5 100644 --- a/templates/android/template/app/src/main/AndroidManifest.xml +++ b/templates/android/template/app/src/main/AndroidManifest.xml @@ -1,12 +1,12 @@ - + - + ::if (ANDROID_PERMISSIONS != null)::::foreach ANDROID_PERMISSIONS:: ::end::::end:: - + ::if (WIN_ORIENTATION=="portrait"):: @@ -17,18 +17,18 @@ ::end:: - - + + - + - + - + - + - + diff --git a/tools/platforms/AndroidPlatform.hx b/tools/platforms/AndroidPlatform.hx index 6d4d5b9f9..1ce02dee4 100644 --- a/tools/platforms/AndroidPlatform.hx +++ b/tools/platforms/AndroidPlatform.hx @@ -459,8 +459,8 @@ class AndroidPlatform extends PlatformTarget "android.permission.VIBRATE", "android.permission.ACCESS_NETWORK_STATE" ]); - context.ANDROID_GRADLE_VERSION = project.config.getString("android.gradle-version", "5.6.3"); - context.ANDROID_GRADLE_PLUGIN = project.config.getString("android.gradle-plugin", "3.5.1"); + context.ANDROID_GRADLE_VERSION = project.config.getString("android.gradle-version", "7.0.2"); + context.ANDROID_GRADLE_PLUGIN = project.config.getString("android.gradle-plugin", "7.0.1"); context.ANDROID_LIBRARY_PROJECTS = [];