Why it try to Build for Android when It never suppose to

I fixed this one and it gave me the second error.

  1. Specifying PlatformAllow just in .uplugin wasn’t enough. Added in .bat directly -TargetPlatforms=Win64 fixed this issue.
  2. 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.