Skip to content

Failed to build for Android with compileSdkVersion 30 #218

Description

@mmkhmk

I got the following error in Android build.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDevDebugAarMetadata'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
   > 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.biometric:biometric:1.2.0-alpha04.
     AAR metadata file: /Users/erika.tayama/.gradle/caches/transforms-3/f404b9545f67b9de464f9067c770604c/transformed/biometric-1.2.0-alpha04/META-INF/com/android/build/gradle/aar-metadata.properties.

compileSdkVersion is 30 in our app and we can't update it because of dependencies for now.
Is there any ways to use this library with compileSdkVersion 30?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions