Android Resolution Fails due to failing reading maven POM ../gpgs-plugin-support-0.11.01.aar

Hi everyone! I am trying to build my game upgraded with the API 34 for Android.

I had a problem with building due to Duplicate Classes and I started following every solution I managed to find online.

I upgraded from Unity 2021.3.17LTS to Unity 2021.3.43LTS since it was announced that all building issues were fixed.

I bumped in this solution that I could potentially try, even if the causing issue isn’t the very same of mine: Unity Issue Tracker - [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

Everything works smooth except for the resolution (both forced and not-forced), that fails logging this error:

What could be a potential workaround? I found nothing online that close to this problem.

Relevant services/plugins in the game (if more are required to better understand the issue, please tell me):

  • Unity Legacy Ads 4.12.0
  • Unity IAP 4.12.2
  • Unity Analytics 5.1.1
  • Google Play Games 0.11.01
  • External Dependency Manager 1.2.182

Any potential fix/suggestion/idea is very appreciated!

Try reading through "We recommend using a newer Android Gradle plugin to use compileSdk = 34". How to solve?
There’s an issue with Google Play Games dependencies definition, might be the same issue you’re facing

I solved that problem by moving my project to the top-level folder, such as D:\mygame, and then reopening it. Then forced resolved, its helped me.

1 Like