-
Notifications
You must be signed in to change notification settings - Fork 362
[Bug] Build Failure with .aab file due to Execution failed for task ':launcher:checkReleaseDuplicateClasses' after upgrading to Google Play Billing Library 6.0.1 in Unity IAP Package #708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
Thanks for reaching out, @Baonguyen-devg. I tried creating a clean project and adding all the dependencies you're using, and also deleting the Library folder, however, I'm able to build the app without errors. I'm guessing there might be a difference in my configuration vs yours. Could you answer a few questions below?
|
Sorry @argzdev for the delayed response. I’ve tried upgrading the project’s editor version to the latest one, updating Firebase to version 12.2.1, updating EDM to version 1.2.182, and using every solution I could find online. However, the build still fails with the same error. I'm suspecting the issue might be related to the IAP package, so I've submitted a ticket to them for further investigation discussions.unity.com - Build Failed After Ugrading To IAP 4.12.* You can find details about Unity version 2023.2.3 and its release notes at this link: Unity 2023.2.3 Release Notes. |
Any update on this? its still happening! |
Hey folks, the best solution here is to follow up on the linked thread. It does look like a lot of folks have success fixing the issue with the given solutions. One of which is following through these config setup:
That said, I do believe this issue has and should've be resolved after following those recommended configuration. I'll go ahead and close this thread. |
[REQUIRED] Please fill in the following fields:
SOURCES:
[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
We received a warning from Google Play Console stating that our app must use Google Play Billing Library version 6.0.1 or later. Currently, the IAP package in our app is version 4.11.0, which only supports Google Play Billing Library version 5.2.1. Therefore, we decided to upgrade the IAP package to version 4.12.0 or higher to support Google Play Billing Library version 6.0.1 in Unity. However, when building the Android App Bundle (.aab) file, we encountered the following error:
I have tried several methods to resolve the issue, but the error persists when building the project. Here’s what I’ve attempted so far:
However, none of these solutions have worked. We had to request an extension from Google Play Console for the warning, pushing the deadline to November. It seems that some other developers are also encountering similar issues as we are
[Android] Build fails with Error "A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable" when using In-App Purchasing and Facebook SDK
669 653
Issue repro rate: 100%
The text was updated successfully, but these errors were encountered: