Topic was automatically imported from the old Question2Answer platform.
Asked By
abhinavsingh
godot build error after adding admob addon
please help godot community hw to fix it
what went wrong:
Excecution failes for task’: checkDebugAarMetadata’
A failure occured while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
The minCompileSdk (31) specified in a
dependency AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module’s compileSdkVersion (android-30).
Dependency:anroidx.appcomat:appcmpat:1.4.2.
AAR metadata file:c:\users\machine\gradle\aar-metadata.properties.
config.gradle
1)change values of min sdk to 21.
2)change value of compile sdk to 31.
3)change target sdk vale to 31.
////////////////////////
ext.versions = [
androidGradlePlugin: ‘4.2.2’,