Execution failed for task ':app:checkReleaseDuplicateClasses'

Unreal 5.4
jdk 17(it seems 17 is mandatory)
ndk 25
target sdk = 34 (minimum requirement in play store)
I got spam of these errors:
Duplicate class com.google.android.play.core.assetpacks.AssetLocation found in modules asset-delivery-2.2.2.aar → jetified-asset-delivery-2.2.2-runtime (com.google.android.play:asset-delivery:2.2.2) and core-1.9.0.aar → jetified-core-1.9.0-runtime (com.google.android.play:core:1.9.0)

In my case two conflicting dependencies below creating issue:

  • UE_5.4\Engine\Plugins\Runtime\GooglePAD\Source\GooglePAD\GooglePAD_APL.xml: (com.google.android.play:asset-delivery:2.2.2)
  • Intermediate\Android\gradle\app\buildAdditions.gradle: (com.google.android.play:core:1.9.0)

My workaround was opening Intermediate folder with android studio and generate aab file. If you want to know more about this workaround let me know. But I rather just package it from engine. Is there any way to generate Intermediate folder without conflict?