diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in
index f1047ac41d8..a95b46c3905 100644
--- a/java/AndroidManifest.xml.in
+++ b/java/AndroidManifest.xml.in
@@ -17,8 +17,12 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see . -->
-
+
. -->
android:requestLegacyExternalStorage="true"
@ANDROID_SHARED_USER_ID@
@ANDROID_SHARED_USER_NAME@
- android:versionCode="@emacs_major_version@"
+ android:versionCode="30"
android:versionName="@version@">
-
+