diff --git a/templates/android/template/app/src/main/AndroidManifest.xml b/templates/android/template/app/src/main/AndroidManifest.xml
index af4261bf9..96ea485fb 100644
--- a/templates/android/template/app/src/main/AndroidManifest.xml
+++ b/templates/android/template/app/src/main/AndroidManifest.xml
@@ -4,8 +4,8 @@
- ::if (ANDROID_PERMISSIONS != null)::::foreach ANDROID_PERMISSIONS::
- ::end::::end::
+ ::foreach ANDROID_PERMISSIONS::
+ ::end::
=30):: android:allowNativeHeapPointerTagging="false" ::end::>