Open SnowmanPlayz opened 1 year ago
The same thing happened to me.
@SnowmanPlayz @RabiscoJE did you guys found a fix?
I found. In my case it was that the Plugin version was not compatible with my Godot version.
Great to hear that. I created the game using 3.5.1
but as the latest plugin only support till 3.4.5
i was using that to export but got the error.
What would you suggest I shall do?
In my case it was different. I was using the Plugin on an older version of Godot. I solved the problem using version 6.0 on Godot 3.5.1. In your case, Android sdk 31 may be missing.
*Godot version:3.4.5*
*AdMob Plugin version:6.1.1*
*Issue Description:I export the project but I an error*
The output was:
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':checkDebugAarMetadata'.
The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-30). Dependency: androidx.appcompat:appcompat:1.4.2. AAR metadata file: C:\Users\User.gradle\caches\transforms-3\57daf1a11e2d65a24f4fc1077b21ea8c\transformed\appcompat-1.4.2\META-INF\com\android\build\gradle\aar-metadata.properties.
The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-30). Dependency: androidx.browser:browser:1.4.0. AAR metadata file: C:\Users\User.gradle\caches\transforms-3\9da2d2f59b231ed09df227e2f9b2980c\transformed\browser-1.4.0\META-INF\com\android\build\gradle\aar-metadata.properties.
The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-30). Dependency: androidx.appcompat:appcompat-resources:1.4.2. AAR metadata file: C:\Users\User.gradle\caches\transforms-3\75c1ba6e038b82a543ea6953911d15c5\transformed\jetified-appcompat-resources-1.4.2\META-INF\com\android\build\gradle\aar-metadata.properties.
The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-30). Dependency: androidx.emoji2:emoji2-views-helper:1.0.0. AAR metadata file: C:\Users\User.gradle\caches\transforms-3\a7cb05bddf2466c7c3e2a95d42881360\transformed\jetified-emoji2-views-helper-1.0.0\META-INF\com\android\build\gradle\aar-metadata.properties.
The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-30). Dependency: androidx.emoji2:emoji2:1.0.0. AAR metadata file: C:\Users\User.gradle\caches\transforms-3\ad3597639405babbe41350b1755d370c\transformed\jetified-emoji2-1.0.0\META-INF\com\android\build\gradle\aar-metadata.properties.
The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-30). Dependency: androidx.work:work-runtime:2.7.0. AAR metadata file: C:\Users\User.gradle\caches\transforms-3\a0b47482052d1bfe519fc26a6176c3d0\transformed\work-runtime-2.7.0\META-INF\com\android\build\gradle\aar-metadata.properties.
The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-30). Dependency: androidx.core:core:1.7.0. AAR metadata file: C:\Users\User.gradle\caches\transforms-3\e6c951c1d26899a67d4e576641c0059d\transformed\core-1.7.0\META-INF\com\android\build\gradle\aar-metadata.properties.
The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-30). Dependency: androidx.lifecycle:lifecycle-process:2.4.0. AAR metadata file: C:\Users\User.gradle\caches\transforms-3\a1947fb2aa63638c92ac374f4ad5def6\transformed\jetified-lifecycle-process-2.4.0\META-INF\com\android\build\gradle\aar-metadata.properties.
The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-30). Dependency: androidx.lifecycle:lifecycle-runtime:2.4.0. AAR metadata file: C:\Users\User.gradle\caches\transforms-3\fa7c672d9e442676326e4e856ef8779c\transformed\lifecycle-runtime-2.4.0\META-INF\com\android\build\gradle\aar-metadata.properties.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 8s 5 actionable tasks: 1 executed, 4 up-to-date