You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to export my Android project with custom build enabled (or run it) fail, with this error message:
Execution failed for task ':stripReleaseDebugSymbols'.
> No version of NDK matched the requested version 21.4.7075529. Versions available locally: 21.1.6352462, 21.3.6528147, 22.0.7026061
If I edit android/build/config.gradle in my project directory to change ndkVersion from 21.4.7075529 to 22.0.7026061, I am able to export.
This might be fixed by updating ndkVersion in platform/android/detect.py and get_project_ndk_version() in platform/android/java/app/config.gradle.
Steps to reproduce:
Update the Android SDK
Uninstall Android NDK 21.4.7075529, if present
Create a new project, with an Android build (or use the attached)
Check Custom Build, in export dialog
Install the v3.3.rc8.official Android build template
That's not a bug, you should use NDK 21.4.7075529.
That's what is required to build Godot (NDK 22.0 is not supported #44055), and so we can't assume that custom builds would work with NDK 22.0. It's safe to use the version which is tried and tested.
Godot version:
v3.3.rc8.official
OS/device including version:
Windows 10
Issue description:
Attempting to export my Android project with custom build enabled (or run it) fail, with this error message:
If I edit
android/build/config.gradle
in my project directory to change ndkVersion from 21.4.7075529 to 22.0.7026061, I am able to export.This might be fixed by updating
ndkVersion
inplatform/android/detect.py
andget_project_ndk_version()
inplatform/android/java/app/config.gradle
.Steps to reproduce:
Minimal reproduction project:
android_custom_build_failure.zip
The text was updated successfully, but these errors were encountered: