I successfully built & packaged my plugin for most of the UE 5. versions, everything is fine and my plugins are submitted to the marketplace. And I wanted to do that for 4.27 as well. But build fails at start with a weird error:
ERROR: Platform Android is not a valid platform to build. Check that the SDK is installed properly. plugin
What is it? I never intended develop anything related to smartphones, why it even appear in my build console?
Thanks, I am using batch builds as well, building for many versions simultaneously. It just fails for 4.27 specifically.
AND, I just noticed something very intriguing when created completely fresh C++ project on 4.27, with completely clean BP Library C++ plugin with no extra code:
Specifying PlatformAllow just in .uplugin wasn’t enough. Added in .bat directly -TargetPlatforms=Win64 fixed this issue.
Then there was another weird error ERROR: Visual Studio 2017 must be installed in order to build this target like what the hell, It is 2025 I have VS2022 with all stuff for UE, UE 5x versions are packaging and working well, whatever… Found that to fix it you add to .bat -VS2019(why not 17?). This worked.