redbox
(redbox)
May 9, 2020, 6:07am
113
LNaej:
Thanks for your feedback! Following what you said, I tried with the HandheldAR template and indeed the error is not there. However, in this template, OnlineSubsystemGooglePlay plugin is enabled. Will test on my project to see if it’s working with it.
I just checked the patch note and indeed the billing api support is new in 4.25, so maybe some default build settings is wrongly configured.
Update: well that’s it,** if OnlineSubsystemGooglePlay is there, it’s working.** Seems like a bug to me.
Update2: So, in Engine\Plugins\Online\Android\OnlineSubsystemGooglePlay\Source\OnlineSubsystemGooglePlay_UPL.xml there is the following code:
<!-- gradle dependencies additions -->
<buildGradleAdditions>
<insert>
dependencies {
implementation 'com.android.billingclient:billing:2.0.3'
}
</insert>
</buildGradleAdditions>
So the problem seems to be that either this code should be in the basic Android build setup, either if google play is disabled,** Engine/Build/Android/Java/src/com/epicgames/ue4/GooglePlayStoreHelper.java** (referencing the billing api in the first place and responsible of the android build to fail) should be left out of the build.
Hello
I had similar problem with simple Android project - on packaging I got errors about that billing system.
But after enabling OnlineSubsystemGooglePlay plugin project packaged successfully.
Thank you for finding solution!