Answers for "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)."

3

The minCompileSdk (31) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)

Path:  android/build.gradle

ext {
        buildToolsVersion = "30.0.3"
        minSdkVersion = 21
        compileSdkVersion = 31  //chnage to 31 from 30
        targetSdkVersion = 31  //chnage to 31 from 30
    }
Posted by: Guest on September-22-2021
0

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.

dependencies {
    def work_version = "2.6.0"
    // Force WorkManager 2.6.0 for transitive dependency
    implementation("androidx.work:work-runtime-ktx:$work_version") {
        force = true
    }
}
Posted by: Guest on January-08-2022

Code answers related to "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)."

Code answers related to "Javascript"

Browse Popular Code Answers by Language