# The android issue: com.android.billingclient:billing:VERSION

**URL:** <https://forums.unrealengine.com/t/the-android-issue-com-android-billingclientversion/1933941>\
**Category:** Devices\
**Tags:** unreal-engine, question\
**Created:** [July 11, 2024, 11:51am UTC](https://forums.unrealengine.com/t/the-android-issue-com-android-billingclientversion/1933941 "2024-07-11T11:51:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koppel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/koppel/32/1159395_2.png) [@Koppel](https://forums.unrealengine.com/u/Koppel)\
**Post date:** [July 11, 2024, 11:51am UTC](https://forums.unrealengine.com/t/the-android-issue-com-android-billingclientversion/1933941/1 "2024-07-11T11:51:11Z")

</div>

`As usual, google decided to integrate something new breaking everything in the process...`

> **Just received the requirement to update my project to a new billing API(to 7) and SDK(to 34) if you have problems, like I had, here is how I fixed everything(at least there are no errors during the upload to google play):**

I am using UE5.1 for my project, target SDK change is still should be performed in the manifest file ([look how it is done here](https://forums.unrealengine.com/t/ue5-1-on-android-permission-required-you-must-aporove-this-permission-in-app-settings-storage/738873/10)) I recommend setting target Target SDK Version to 35

And for the billing info:  
I edited the file `OnlineSubsystemGooglePlay_UPL.xml` it is in the folder `UE_5.1\Engine\Plugins\Online\Android\OnlineSubsystemGooglePlay\Source` there I changed line `com.android.billingclient:billing:5.0.0` to `com.android.billingclient:billing:7.0.0` _(actually don’t think this helped but changed for good measure)_

In the manifest file from [Target SDK change](https://forums.unrealengine.com/t/ue5-1-on-android-permission-required-you-must-aporove-this-permission-in-app-settings-storage/738873/10) I have added the line `com.android.billingclient:billing:7.0.0` (I believe this is what helped)

---

<div class="post-metadata">

**Author:** ![Qwertymamaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Qwertymamaa](https://forums.unrealengine.com/u/Qwertymamaa)\
**Post date:** [August 12, 2024, 12:34pm UTC](https://forums.unrealengine.com/t/the-android-issue-com-android-billingclientversion/1933941/2 "2024-08-12T12:34:03Z")

</div>

Hi. So your ManifestRequirementsOverride.txt file looks something like this right?

```auto
<uses-sdk android:minSdkVersion="26" android:targetSdkVersion="35" />
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.READ_EXTERNAL_STORAGE
com.android.billingclient:billing:7.0.0

```

I also have a weird issue where it crashes on playing the game giving a FATAL EXCEPTION: main. Would you know anything regarding this?

---

<div class="post-metadata">

**Author:** ![Qwertymamaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Qwertymamaa](https://forums.unrealengine.com/u/Qwertymamaa)\
**Post date:** [August 12, 2024, 12:57pm UTC](https://forums.unrealengine.com/t/the-android-issue-com-android-billingclientversion/1933941/3 "2024-08-12T12:57:15Z")

</div>

Looks like adding ManifestRequirementsOverride.txt is causing the crash. But changing the target sdk in the normal project settings doesn’t allow the app to open. Quite a conundrum.

---

<div class="post-metadata">

**Author:** ![Koppel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/koppel/32/1159395_2.png) [@Koppel](https://forums.unrealengine.com/u/Koppel)\
**Post date:** [December 17, 2024, 12:04pm UTC](https://forums.unrealengine.com/t/the-android-issue-com-android-billingclientversion/1933941/4 "2024-12-17T12:04:03Z")

</div>

I guess the only true way to work with such problems is to transfer the game to a recent engine version.
