on
The minCompileSdk (31) specified in a dependency's AAR metadata
The minCompileSdk (31) specified in a dependency's AAR metadata
android studio에서 빌드할 때 에러남
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.0.
AAR metadata file: C:\Users\zzre\.gradle\caches\transforms-2\files-2.1\16353d4d08c6189a4d15ac65ee153b32\appcompat-1.4.0\META-INF\com\android\build\gradle\aar-metadata.properties.
Gradle Scripts > build.gradle (Module: ~~.app) 에서
dependencies { implementation 'androidx.appcompat:appcompat:1.4.0'
을
dependencies { implementation 'androidx.appcompat:appcompat:1.3.1'
로 바꾸니까 일단 빌드됨
업데이트 된건가
# https://stackoverflow.com/questions/69034879/how-to-resolve-this-error-the-mincompilesdk-31-specified-in-a-dependencys-aar
compileSdkVersion, minSdkVersion, targetSdkVersion을 31로 바꾸는게 더 좋나
테스트 기기를 Pixel 2로 해서 minSdkVersion을 못올림
저거 바꾸려면 테스트 기기를 최신거로 바꿔야되는듯
from http://zzre.tistory.com/163 by ccl(A) rewrite - 2021-11-20 16:28:19