How to actually update the play billing library.

Hey there,

Once again I’ve found myself with loads of links, workarounds and bodge fixes but none of them reaaaally answering the question.

How do you actually just update the billing library?

On the documentation it just states to go to your build.gradle and swap it to the latest. But I can’t seem to find it.

Any help would be huge, Or ill just kind of update here until it’s solved.

Thanks

OK so there’s this link, but it doesn’t really help, It basically just says to add a dependency to the build.gradle. But doesn’t specify anything else, such as which build.gradle?

Update the Play Billing Library dependency version in your app’s build.gradle file.

Frustratingly, it doesn’t tell you how to find out which version you have, either.

Equally frustrating is there’s like 7 build.gradles. I wonder who the documentation is for, If you’re a beginner or aren’t sure, it doesn’t tell you much. If you already know this stuff, you wouldn’t need a lot of the documentation.

I tried adding it to extra permissions but It’s obviously not a permission, lol.

So Ive chosen this location’s build.gradle

Intermediate\Android\gradle

And tried adding it to the dependencies there, see what happens, lol.
update:

Nope didnt work
trying this one next Intermediate\Android\gradle\app

update1:
Nope didn’t work.
The next option is in engine.

There’s 2 more build gradles here

Epic\UE_5.4\Engine\Build\Android\Java\gradle
Epic\UE_5.4\Engine\Build\Android\Java\gradle\app

update2.
Sigh, get compiling errors with both.

Update3.

This fantastic plugin solved all my errors. its a shame, I wish I understood it but heres the Link

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.