Open dreamcodestudio opened 2 weeks ago
Hi, I was unable to replicate this issue. I installed the latest Google Mobile Ads plugin, the mentioned addapters, and made sure I executed the gradle integration guide on Unity 2021.
That said, your error mergeExtDexDebug comes from trying to import too much java code. Some things you can try:
Delete gradle caches Use R8 to minify. make sure you use multidex.
Ok i try it on empty sandbox project and post the results
On sandbox project i get errror:
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
> The minCompileSdk (34) specified in a
dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module's compileSdkVersion (android-33).
Dependency: androidx.webkit:webkit:1.11.0-alpha02.**
**
New versions sdks requirment target Android API 34?
But after set target API 34, sandbox build completed. I will collect more info in work project, maybe it collapse on some third-party plugins.
On work project, build works fine after deleted Firebase Unity SDK, i will try update it to latest version v12.1.0
About Firebase:
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
In result Unity shows
Gradle build failed
: