2 issues were found when checking AAR metadata:
Dependency ‘androidx.core:core:1.12.0-alpha01’ requires libraries and applications that
depend on it to compile against codename “UpsideDownCake” of the
Android APIs.
:app is currently compiled against android-33.
Recommended action: Use a different version of dependency ‘androidx.core:core:1.12.0-alpha01’,
or set compileSdkPreview to “UpsideDownCake” in your build.gradle
file if you intend to experiment with that preview SDK.
Dependency ‘androidx.core:core-ktx:1.12.0-alpha01’ requires libraries and applications that
depend on it to compile against codename “UpsideDownCake” of the
Android APIs.
:app is currently compiled against android-33.
Recommended action: Use a different version of dependency ‘androidx.core:core-ktx:1.12.0-alpha01’,
or set compileSdkPreview to “UpsideDownCake” in your build.gradle
file if you intend to experiment with that preview SDK.
解决方法:
app的build.gradle 删除这句:
...
implementation 'androidx.core:core-ktx:+'
...