Android 开发问题:core-ktx 版本与 compileSdkVersion 冲突 implementationandroidx.core:core-ktx:1.10.1在 Android 开发中引入了androidx.core:core-ktx:1.10.1库后运行项目时出现如下错误信息3 issues were found when checking AAR metadata: 1. Dependency androidx.core:core-ktx:1.10.1 requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app3 is currently compiled against android-32. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or applications compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 2. Dependency androidx.core:core:1.10.1 requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app3 is currently compiled against android-32. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or applications compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on). 3. Dependency androidx.annotation:annotation-experimental:1.3.0 requires libraries and applications that depend on it to compile against version 33 or later of the Android APIs. :app3 is currently compiled against android-32. Recommended action: Update this project to use a newer compileSdkVersion of at least 33, for example 33. Note that updating a library or applications compileSdkVersion (which allows newer APIs to be used) can be done separately from updating targetSdkVersion (which opts the app in to new runtime behavior) and minSdkVersion (which determines which devices the app can be installed on).问题原因引入的androidx.core:core-ktx:1.10.1库要求项目的 compileSdkVersion 至少为 33而当前的 compileSdkVersion 为 32处理策略方案 1升级 compileSdkVersion 到 33android{compileSdk33}方案 2降级core-ktx到1.8.0或1.9.0版本implementationandroidx.core:core-ktx:1.8.0