File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ inputs:
20
20
default : 12.2.0
21
21
description : MinGW version.
22
22
ndk-version :
23
- default : r23c
23
+ default : r28b
24
24
description : Android NDK version.
25
25
buildtool :
26
26
default : scons
Original file line number Diff line number Diff line change 73
73
platform : android
74
74
config-flags :
75
75
-G Ninja -DCMAKE_BUILD_TYPE=Release
76
- --toolchain ${ANDROID_HOME}/ndk/23.2.8568313 /build/cmake/android.toolchain.cmake
77
- -DANDROID_PLATFORM=21 -DANDROID_ABI=arm64-v8a
76
+ --toolchain ${ANDROID_HOME}/ndk/28.1.13356709 /build/cmake/android.toolchain.cmake
77
+ -DANDROID_PLATFORM=24 -DANDROID_ABI=arm64-v8a
78
78
artifact-name : godot-cpp-android-arm64-release.cmake
79
79
artifact-path : cmake-build/bin/libgodot-cpp.android.template_release.arm64.a
80
80
flags : arch=arm64
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ function(android_options)
34
34
more information
35
35
36
36
android_api_level : Target Android API level.
37
- Default = 21
37
+ Default = 24
38
38
39
39
ANDROID_HOME : Path to your Android SDK installation.
40
40
Default = os.environ.get("ANDROID_HOME", os.environ.get("ANDROID_SDK_ROOT")
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ own toolchain file as listed in the cmake-toolchains_ documentation
253
253
254
254
Or use the toolchain and scripts provided by the Android SDK and make changes
255
255
using the ``ANDROID_* `` variables listed there. Where ``<version> `` is whatever
256
- ndk version you have installed (tested with `23.2.8568313 `) and ``<platform> ``
256
+ ndk version you have installed (tested with `28.1.13356709 `) and ``<platform> ``
257
257
is for android sdk platform, (tested with ``android-29 ``)
258
258
259
259
.. warning ::
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ def options(opts):
9
9
opts .Add (
10
10
"android_api_level" ,
11
11
"Target Android API level" ,
12
- "21 " ,
12
+ "24 " ,
13
13
)
14
14
opts .Add (
15
15
"ndk_version" ,
16
16
"Fully qualified version of ndk to use for compilation." ,
17
- "23.2.8568313 " ,
17
+ "28.1.13356709 " ,
18
18
)
19
19
opts .Add (
20
20
"ANDROID_HOME" ,
@@ -48,9 +48,9 @@ def generate(env):
48
48
my_spawn .configure (env )
49
49
50
50
# Validate API level
51
- if int (env ["android_api_level" ]) < 21 :
52
- print ("WARNING: minimum supported Android target api is 21 . Forcing target api 21 ." )
53
- env ["android_api_level" ] = "21 "
51
+ if int (env ["android_api_level" ]) < 24 :
52
+ print ("WARNING: minimum supported Android target api is 24 . Forcing target api 24 ." )
53
+ env ["android_api_level" ] = "24 "
54
54
55
55
# Setup toolchain
56
56
toolchain = get_android_ndk_root (env ) + "/toolchains/llvm/prebuilt/"
You can’t perform that action at this time.
0 commit comments