@@ -94,8 +94,8 @@ root directory with the following arguments:
94
94
95
95
::
96
96
97
- scons platform=android target=release android_arch =armv7
98
- scons platform=android target=release android_arch =arm64v8
97
+ scons platform=android target=template_release arch =armv7
98
+ scons platform=android target=template_release arch =arm64v8
99
99
cd platform/android/java
100
100
# On Windows
101
101
.\gradlew generateGodotTemplates
@@ -109,8 +109,8 @@ The resulting APK will be located at ``bin/android_release.apk``.
109
109
110
110
::
111
111
112
- scons platform=android target=release_debug android_arch =armv7
113
- scons platform=android target=release_debug android_arch =arm64v8
112
+ scons platform=android target=template_debug arch =armv7
113
+ scons platform=android target=template_debug arch =arm64v8
114
114
cd platform/android/java
115
115
# On Windows
116
116
.\gradlew generateGodotTemplates
@@ -130,16 +130,16 @@ Adding support for x86 devices
130
130
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
131
131
132
132
If you also want to include support for x86 and x86-64 devices, run the SCons
133
- command a third and fourth time with the ``android_arch=x86 ``, and
134
- ``android_arch =x86_64 `` arguments before building the APK with Gradle. For
133
+ command a third and fourth time with the ``arch=x86_32 ``, and
134
+ ``arch =x86_64 `` arguments before building the APK with Gradle. For
135
135
example, for the release template:
136
136
137
137
::
138
138
139
- scons platform=android target=release android_arch =armv7
140
- scons platform=android target=release android_arch =arm64v8
141
- scons platform=android target=release android_arch =x86
142
- scons platform=android target=release android_arch =x86_64
139
+ scons platform=android target=template_release arch =armv7
140
+ scons platform=android target=template_release arch =arm64v8
141
+ scons platform=android target=template_release arch =x86
142
+ scons platform=android target=template_release arch =x86_64
143
143
cd platform/android/java
144
144
# On Windows
145
145
.\gradlew generateGodotTemplates
@@ -214,10 +214,10 @@ root directory with the following arguments:
214
214
215
215
::
216
216
217
- scons platform=android android_arch =armv7 production=yes tools=yes target=release_debug
218
- scons platform=android android_arch =arm64v8 production=yes tools=yes target=release_debug
219
- scons platform=android android_arch =x86 production=yes tools=yes target=release_debug
220
- scons platform=android android_arch =x86_64 production=yes tools=yes target=release_debug
217
+ scons platform=android arch =armv7 production=yes target=editor
218
+ scons platform=android arch =arm64v8 production=yes target=editor
219
+ scons platform=android arch =x86 production=yes target=editor
220
+ scons platform=android arch =x86_64 production=yes target=editor
221
221
cd platform/android/java
222
222
# On Windows
223
223
.\gradlew generateGodotEditor
@@ -289,8 +289,8 @@ one of the following reasons:
289
289
290
290
- Make sure to use export templates that match your editor version; if
291
291
you use a new Godot version, you *have * to update the templates too.
292
- - ``libgodot_android.so `` is not in ``libs/<android_arch >/ ``
293
- where ``<android_arch > `` is the device's architecture.
292
+ - ``libgodot_android.so `` is not in ``libs/<arch >/ ``
293
+ where ``<arch > `` is the device's architecture.
294
294
- The device's architecture does not match the exported one(s).
295
295
Make sure your templates were built for that device's architecture,
296
296
and that the export settings included support for that architecture.
0 commit comments