How to Remove Android from Build Target

I’ve been trying to build a C++ Bluepirnt Function Library but my build keeps failing and doesn’t produce a red error lines in my log. My best lead is this line right before it fails:

UATHelper: Package Plugin Task (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\Name\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\UBT-UnrealGame-Android-Development.txt)

Which takes me to this big log which has the line:

Platform Android is not a valid platform to build. Check that the SDK is installed properly.

I’m just trying to build a Blueprint Function Library Plugin. I don’t need to build it for Android. Please help!

EDIT: I’m trying to build this in UE5.1.1

1 Like

Figured it out! I just had to update the build to look like the following!

{
    "FileVersion": 3,
    "Version": 1,
    "VersionName": "1.0",
    "FriendlyName": "YourPluginName",
    "Description": "A brief description of your plugin",
    "Category": "The category of your plugin",
    "CreatedBy": "Your name",
    "CreatedByURL": "Your website or contact URL",
    "DocsURL": "URL to the documentation",
    "MarketplaceURL": "URL to the marketplace",
    "SupportURL": "URL to support",
    "CanContainContent": true,
    "IsBetaVersion": false,
    "Installed": false,
    "Modules": [
        {
            "Name": "YourModuleName",
            "Type": "Runtime",
            "LoadingPhase": "Default",
            "WhitelistPlatforms": ["Win64"]
        }
    ],
    "PlatformAllowList": ["Win64"]
}

1 Like