Merge pull request #110260 from m4gr3d/investigate_csharp_build_issue

Fix the issue preventing installing C# binaries on Android devices with api <= 29
This commit is contained in:
Clay John 2025-09-04 20:54:32 -07:00 committed by GitHub
commit 9edc290328
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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
}