# Android 12 (Target API 31) Google Play upload fix

**URL:** <https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234>\
**Category:** Mobile\
**Tags:** unreal-engine, UE5-0, Android, UE4-26, UE4-27\
**Created:** [October 12, 2022, 7:19pm UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234 "2022-10-12T19:19:30Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flakky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flakky/32/918696_2.png) [@Flakky](https://forums.unrealengine.com/u/Flakky)\
**Post date:** [October 12, 2022, 7:19pm UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/1 "2022-10-12T19:19:30Z")

</div>

So, starting November 2022 all new apps and updates on Google Play must target API 31 (Android 12) .

Unreal Engine 4 compiles well if you set target level to 31, but Google Play won’t allow to upload your app, because there are some issues in AndroidManifers.xml. You might see this error:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/b/b0b1b2a0b0c5bad1d22d49d2e85facf5abd1981b.png)

If it appears, that means the manifest is not ready for new requirements:

> **[Behavior changes: Apps targeting Android 12  |  Android Developers](https://developer.android.com/about/versions/12/behavior-changes-12#exported)**
>
> Learn about changes in Android 12 that will affect apps when they target Android 12.

I’ve prepared a small plugin, that fixes the problem

> **[GitHub - Flakky/Unreal-Android-Manifest-Fix-Plugin](https://github.com/Flakky/Unreal-Android-Manifest-Fix-Plugin)**
>
> Contribute to Flakky/Unreal-Android-Manifest-Fix-Plugin development by creating an account on GitHub.

Feel free to contribute or ask questions.

---

<div class="post-metadata">

**Author:** ![ErikRomeros](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ErikRomeros](https://forums.unrealengine.com/u/ErikRomeros)\
**Post date:** [October 19, 2022, 2:52pm UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/2 "2022-10-19T14:52:43Z")

</div>

Hello, I have compiled successfully, but when uploading to playconsole the error persists version 4.26

---

<div class="post-metadata">

**Author:** ![Flakky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flakky/32/918696_2.png) [@Flakky](https://forums.unrealengine.com/u/Flakky)\
**Post date:** [October 20, 2022, 10:38am UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/3 "2022-10-20T10:38:11Z")

</div>

Hi! Make sure you have plugin installed and enabled in “Plugins Manager” screen. Also, after compile, you can check the effect, by opening Intermediate/Android/arm64/AndroidManifest.xml.  
android:exported attribute must be in every _receiver_, _service_ and _activity_ tags. If it is not, then plugin might be not installed correctly or disabled.

If you still get the errors, fell free to PM me in Discord: Flakky#8322

---

<div class="post-metadata">

**Author:** ![Pipsaballhog](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pipsaballhog](https://forums.unrealengine.com/u/Pipsaballhog)\
**Post date:** [December 5, 2022, 4:46am UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/5 "2022-12-05T04:46:43Z")

</div>

I managed to get my game published with SDK-31 / NDK-19 and upload to google play for testing and it loads…  
This was done by packaging the project with unreal Engine and then used android studio to amend the manifest.  
Follow this video ( [Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined - YouTube](https://www.youtube.com/watch?v=nvljX9XkyQw) ) to use android studio to amend the manifest.

Best of luck, Pip

---

<div class="post-metadata">

**Author:** ![PRESSURE2000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PRESSURE2000](https://forums.unrealengine.com/u/PRESSURE2000)\
**Post date:** [December 30, 2022, 11:57pm UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/6 "2022-12-30T23:57:13Z")

</div>

This wont build in unreal 4.27

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/8/32846a854eaffea5f8259219a719ece354dcf67b.png)

---

<div class="post-metadata">

**Author:** ![NIDAL\_NIJM\_GAMES](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nidal_nijm_games/32/1213063_2.png) [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Post date:** [January 30, 2023, 6:45pm UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/7 "2023-01-30T18:45:51Z")

</div>

Thanks man for this AMAZING help. It’s a shame that Epic does not give proper support for Android Developers. Now I see why majority of mobile game developers prefer unity, even though UE has power to make some AMAZING mobile games. Cheers!

---

<div class="post-metadata">

**Author:** ![Jtx91delta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jtx91delta](https://forums.unrealengine.com/u/Jtx91delta)\
**Post date:** [March 11, 2023, 7:43pm UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/8 "2023-03-11T19:43:43Z")

</div>

Thanks! works well!  
Ue 4.26.2  
Build-Tool - 30.0.3  
API lvl “Android-32”

---

<div class="post-metadata">

**Author:** ![BaranKYNC](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/barankync/32/634682_2.png) [@BaranKYNC](https://forums.unrealengine.com/u/BaranKYNC)\
**Post date:** [April 14, 2023, 5:04pm UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/9 "2023-04-14T17:04:18Z")

</div>

Hi, you find any solution?

---

<div class="post-metadata">

**Author:** ![Vengeance66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vengeance66/32/768368_2.png) [@Vengeance66](https://forums.unrealengine.com/u/Vengeance66)\
**Post date:** [October 28, 2023, 2:50pm UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/10 "2023-10-28T14:50:02Z")

</div>

Hi, thanks for sharing this, but It’s not working after enabling the plugin.

Anyway, thanks!

---

<div class="post-metadata">

**Author:** ![Flakky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flakky/32/918696_2.png) [@Flakky](https://forums.unrealengine.com/u/Flakky)\
**Post date:** [October 30, 2023, 9:35am UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/11 "2023-10-30T09:35:33Z")

</div>

Hello! Do you have an error or something?

---

<div class="post-metadata">

**Author:** ![Vengeance66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vengeance66/32/768368_2.png) [@Vengeance66](https://forums.unrealengine.com/u/Vengeance66)\
**Post date:** [October 30, 2023, 9:46am UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/12 "2023-10-30T09:46:59Z")

</div>

This is the error I get. I’m on UE 4.26.2  
 ![Screenshot_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/9/7c989b391392b1efd346e602e1173256c4b15dbd.jpeg)

---

<div class="post-metadata">

**Author:** ![Flakky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/flakky/32/918696_2.png) [@Flakky](https://forums.unrealengine.com/u/Flakky)\
**Post date:** [November 5, 2023, 12:30pm UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/13 "2023-11-05T12:30:27Z")

</div>

I see, you must build the plugin from source using IDE.

You can also try to download a plugin for 4.26 from Releases section on github, it should have binaries built for you.

> **[Releases · Flakky/Unreal-Android-Manifest-Fix-Plugin](https://github.com/Flakky/Unreal-Android-Manifest-Fix-Plugin/releases)**
>
> Contribute to Flakky/Unreal-Android-Manifest-Fix-Plugin development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![iatrid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iatrid](https://forums.unrealengine.com/u/iatrid)\
**Post date:** [June 11, 2024, 6:13pm UTC](https://forums.unrealengine.com/t/android-12-target-api-31-google-play-upload-fix/668234/14 "2024-06-11T18:13:44Z")

</div>

Alexander, Playstore asks for API 33, have you made any plugin for this or have some advise? Or the plugin should work for API? I followed most of the advises I found in the forums, but still have the same error during uploading the game on the playstore… I wonder why should we face this error while on the game settings we clearly state the android:exported=“true”…  
strugling for days and days with this :(((
