# You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without 'android:exported' property set. This file can't be installed on Android 12 or higher

**URL:** <https://forums.unrealengine.com/t/you-uploaded-an-apk-or-android-app-bundle-which-has-an-activity-activity-alias-service-or-broadcast-receiver-with-intent-filter-but-without-android-exported-property-set-this-file-cant-be-installed-on-android-12-or-higher/272856>\
**Category:** Mobile\
**Tags:** unreal-engine, Android, UE4-27\
**Created:** [January 16, 2022, 3:21pm UTC](https://forums.unrealengine.com/t/you-uploaded-an-apk-or-android-app-bundle-which-has-an-activity-activity-alias-service-or-broadcast-receiver-with-intent-filter-but-without-android-exported-property-set-this-file-cant-be-installed-on-android-12-or-higher/272856 "2022-01-16T15:21:00Z")\
**Posts on this page:** 1\
**Showing post:** 56

<div class="post-metadata">

**Author:** ![WimbleSoft](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wimblesoft/32/582012_2.png) [@WimbleSoft](https://forums.unrealengine.com/u/WimbleSoft)\
**Post date:** [October 14, 2022, 12:21pm UTC](https://forums.unrealengine.com/t/you-uploaded-an-apk-or-android-app-bundle-which-has-an-activity-activity-alias-service-or-broadcast-receiver-with-intent-filter-but-without-android-exported-property-set-this-file-cant-be-installed-on-android-12-or-higher/272856/56 "2022-10-14T12:21:44Z")

</div>

Inside MyGame.Build.cs

```auto
public MyGame(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
	
		PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });

		PrivateDependencyModuleNames.AddRange(new string[] { });

        // Uncomment if you are using Slate UI
        // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
        PrivateDependencyModuleNames.AddRange(new string[] { "OnlineSubsystem", "OnlineSubsystemUtils" });

        DynamicallyLoadedModuleNames.Add("OnlineSubsystemNull");

        if (Target.Platform == UnrealTargetPlatform.IOS)
        {
            PrivateDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine"});
            DynamicallyLoadedModuleNames.Add("IOSAdvertising");
        }
        else if (Target.Platform == UnrealTargetPlatform.Android)
        {
            PrivateDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine"});
            DynamicallyLoadedModuleNames.Add("AndroidAdvertising");
            // Add UPL to add configrules.txt to our APK
            string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, Target.RelativeEnginePath);
            AdditionalPropertiesForReceipt.Add("AndroidPlugin", System.IO.Path.Combine(PluginPath, "AddAndroidExportedToSplash_UPL.xml"));

        }
    }

```

Inside MyGame/Source/MyGame folder, you need this file:AddAndroidExportedToSplash\_UPL.xml

```auto
<?xml version="1.0" encoding="utf-8"?>
<root xmlns:android="http://schemas.android.com/apk/res/android">
	<!-- init section is always evaluated once per architecture -->
	<init>
	</init>

	<!-- optional updates applied to AndroidManifest.xml -->
	<androidManifestUpdates>
		<!-- update the SplashActivity activity -->
		<loopElements tag="activity">
			<setStringFromAttribute result="activityName" tag="$" name="android:name"/>
			<setBoolIsEqual result="bSplashActivity" arg1="$S(activityName)" arg2="com.epicgames.ue4.SplashActivity"/>
			<if condition="bSplashActivity">
				<true>
					<addAttribute tag="$" name="android:exported" value="true"/>
				</true>
			</if>
		</loopElements>
	</androidManifestUpdates>
</root>

```

---

_[View the full topic](https://forums.unrealengine.com/t/you-uploaded-an-apk-or-android-app-bundle-which-has-an-activity-activity-alias-service-or-broadcast-receiver-with-intent-filter-but-without-android-exported-property-set-this-file-cant-be-installed-on-android-12-or-higher/272856)._
