Skip to main content
Question

Gradle error in build process after sdk plugin.

  • October 19, 2024
  • 3 replies
  • 33 views

Forum|alt.badge.img+2

I am using Unity version 2021.3.29f1 and I am making subscription purchases with IAP version 4.12.2. IAP version supports android payment library version 6.2.1. So I am using RevenueCat sdk 6.10.0. When I try to get a build after sdk installation, I get an error as “com.android.build.gradle.internal.tasks.Workers$ActionFacade”. When I uninstall the SDK, the problem is solved. What should I do?

This post has been closed for comments

3 replies

Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • October 23, 2024

Hey @bayramali , 

 

Unity IAP doesn't work with version 6 of the purchases plugin so this is likely the issue you are seeing here. You will want to make sure to use version 5.3.0 of our plugin. This is due to incompatibilities with the version of BillingClient used by Unity IAP, the latest versions of the plugin won't work alongside Unity IAP until Unity IAP gets updated to BillingClient 6.x.x.


Forum|alt.badge.img+2
  • Author
  • New Member
  • 3 replies
  • October 23, 2024
Michael Fogel wrote:

Hey @bayramali , 

 

Unity IAP doesn't work with version 6 of the purchases plugin so this is likely the issue you are seeing here. You will want to make sure to use version 5.3.0 of our plugin. This is due to incompatibilities with the version of BillingClient used by Unity IAP, the latest versions of the plugin won't work alongside Unity IAP until Unity IAP gets updated to BillingClient 6.x.x.

In August 2024 Unity brought support for IAP billing 6.2.1. I realized later that this is not related to the Gradle issue, thank you for your reply. If you update your technical documentation, it will be healthier for your customers who provide Unity integrations.


Michael Fogel
Forum|alt.badge.img+6
  • Dedicated Contributor
  • 382 replies
  • October 29, 2024

Hey @bayramali !

 

Thanks for that suggestion,  I will work on getting that updated! 

 

We are always working to improve the docs and appreciate this feedback. Let me know if you have any other questions! 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings