1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix the issue preventing installing C# binaries on Android devices with api <= 29

This commit is contained in:
Fredia Huya-Kouadio
2025-09-04 10:56:35 -07:00
parent 6c9aa4c7d3
commit d255ec2fe1

View File

@@ -388,7 +388,13 @@ ext.shouldUseLegacyPackaging = { ->
return Boolean.parseBoolean(legacyPackagingFlag)
}
// Default behavior for minSdk >= 24
if (getExportMinSdkVersion() <= 29) {
// Use legacy packaging for compatibility with device running api <= 29.
// See https://github.com/godotengine/godot/issues/108842 for reference.
return true
}
// Default behavior for minSdk > 29.
return false
}