The minCompileSdk (31) specified in a dependency‘s AAR metadata (META-INF/com/android/build/gradle报错
Posted 春招进大厂的梦想家
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The minCompileSdk (31) specified in a dependency‘s AAR metadata (META-INF/com/android/build/gradle报错相关的知识,希望对你有一定的参考价值。
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\\23737\\Android_apk\\caches\\transforms-2\\files-2.1\\8f4b7ca2bae2afe820e06df077d8d5c8\\appcompat-1.4.0\\META-INF\\com\\android\\build\\gradle\\aar-metadata.properties.
解决办法:
把compileSdkVersion 30改成 31 就好了
以上是关于The minCompileSdk (31) specified in a dependency‘s AAR metadata (META-INF/com/android/build/gradle报错的主要内容,如果未能解决你的问题,请参考以下文章
错误记录Android Studio 编译报错 ( The minCompileSdk (31) specified in a dependency‘s AAR metadata (META- )
The minCompileSdk (31) specified in a dependency‘s AAR metadata (META-INF/com/android/build/gradle报错
The minCompileSdk (31) specified in a dependency‘s AAR metadata (META-INF/com/android/build/gradle报错
The minCompileSdk (31) specified in a dependency‘s AAR metadata (META-INF/com/android/build/gradle报错
Android记录我遇到的坑The minCompileSdk (31) specified in a dependency‘s AAR metadata (META-INF/co
如何解决本机 Java 或 Kotlin 中的错误“在依赖项的 AAR 元数据中指定的 minCompileSdk (31)”? [复制]