Packaging a UE4 Plugin: Changing the Target Platforms

How may I change the target platforms for Plugin Packaging? I currently am receiving an error with respect to packaging for Android, and I do NOT want to currently package for Android.

UATHelper: Package Plugin Task (Windows): Building plugin for target platforms: Android, IOS, Linux, LinuxAArch64, Win64, Win32

UATHelper: Package Plugin Task (Windows): Running: C:\Program Files\Epic Games\UE_4.25\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Android Development -Project=“C:_Packaged Plugins\ThirdParty_TestPlugin\ThirdParty_TestPlugin\ThirdParty_TestPlugin\HostProject\HostProject.uproject” -plugin=“C:_Packaged Plugins\ThirdParty_TestPlugin\ThirdParty_TestPlug
in\ThirdParty_TestPlugin\HostProject\Plugins\ThirdParty_TestPlugin\ThirdParty_TestPlugin.uplugin” -iwyu -noubtmakefiles -manifest=“C:_Packaged Plugins\ThirdParty_TestPlugin\ThirdParty_TestPlugin\ThirdParty_TestPlugin\HostProject\Saved\Manifest-UE4Game-Android-Development.xml” -nohotreload -architectures=armv7+arm64 -2017 -log=“C:\Users\AppData\Roaming
\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.25\UBT-UE4Game-Android-Development.txt”

UATHelper: Package Plugin Task (Windows): ERROR: Platform Android is not a valid platform to build. Check that the SDK is installed properly.

1 Like

The answer to this question is to whitelist the target platforms for what you want your target platforms to be packaged. This is done is the following way:

In your .uplugin file:

	"FileVersion": 3,
	"Version": 1,
	"VersionName": "1.0",
	"FriendlyName": "TestPlugin",
	"Description": "Test Plugin",
	"Category": "MyCategory",
	"CreatedBy": "<Your Chosen Name>",
	"CreatedByURL": "",
	"DocsURL": "",
	"MarketplaceURL": "",
	"SupportURL": "",
	"CanContainContent": true,
	"IsBetaVersion": false,
	"IsExperimentalVersion": false,
	"Installed": false,
	"Modules": [
			"Name": "TestPlugin",
			"Type": "Runtime",
			"LoadingPhase": "PostEngineInit",
			"AdditionalDependencies": [],
			"WhitelistPlatforms": [

This doesnt work for me… Its still building for linux etc. What could be the cause?

For a Runtime plugin in 5.0 and above, use “PlatformAllowList” rather than “WhitelistPlatforms”

1 Like

I know about that, it seems like i tried everything already, not sure what the issue is. Here is my code if anything faxcorp/DriftIslandPlugin: Documentation (
Maybe you can spot whats wrong? Thanks

Maybe try with just the “PlatformAllowList” and remove the Deny list and other whitelists?

That looks like a nice spline road system!

1 Like

I will try.
Thanks! I hope I can share this with the world when I fix the error. I’ve got pretty nice island going, wanna put it up on the marketplace, but this error holds the whole project, getting denied by the Marketplace Engineers

Blessings @RecourseDesign

1 Like

I’m working on the same sort of issue for a plugin in Unreal 5.3
I found the documentation that lists the members but I would hardly call that documentation … more like list of members … :thinking:

Is there any documentation that breaks down the .uplugin and shows its use cases as the file self

I managed to get it limited to Win64 … but attempting to add Linux and Mac to that causes it to build for Droid again

I would love to see a list of what the valid values are just guessing based on what I see elsewhere RE platform labels

Same issue here.