2023-02-13 Solution: You need to update your module's compileSdkVersion to match the minCompileSdk specified in the AAR metadata file. In this case, you would have to update it to 31.
Solution: You need to update your module's compileSdkVersion to match the minCompileSdk specified in the AAR metadata file. In this case, you would have to update it to 31.
解决方案:您需要更新模块的compileSdkVersion以匹配AAR元数据文件中指定的minCompileSdk。在这种情况下,您必须将其更新为31。
找到项目的build.gradle,在buildscript里面添加ext.compileSdkVersion = 31。