Justin Yue09/02/2021, 6:30 AM
in my build.gradle. Sync works fine, but when I try to build, I get this error (in thread) stating that min sdk is not 31. I'm a bit confused by this since sdk 31 is android 12, which hasn't come out yet? Edit: Resolved!
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.navigation:navigation-common-ktx:2.4.0-alpha08. AAR metadata file: /home/jay/.gradle/caches/transforms-3/48285341bd595682bc0d071126012b04/transformed/navigation-common-ktx-2.4.0-alpha08/META-INF/com/android/build/gradle/aar-metadata.properties.
mario09/02/2021, 6:31 AM
const val sdkVersion = 31 const val buildVersion = "31.0.0"
Justin Yue09/02/2021, 6:33 AM