androidx.* の group = "androidx.activity"
や group = "androidx.core"
などの基本的なモジュールの非 stable 版は、非 stable API では使えないようです。
3 issues were found when checking AAR metadata:
1. Dependency 'androidx.activity:activity-ktx:1.8.0-alpha03' 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.activity:activity-ktx:1.8.0-alpha03',
or set compileSdkPreview to "UpsideDownCake" in your build.gradle
file if you intend to experiment with that preview SDK.
2. Dependency 'androidx.activity:activity:1.8.0-alpha03' 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.activity:activity:1.8.0-alpha03',
or set compileSdkPreview to "UpsideDownCake" in your build.gradle
file if you intend to experiment with that preview SDK.
3. Dependency 'androidx.activity:activity-compose:1.8.0-alpha03' 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.activity:activity-compose:1.8.0-alpha03',
or set compileSdkPreview to "UpsideDownCake" in your build.gradle
file if you intend to experiment with that preview SDK.
Note: This version will only compile against the Android 14 (Upside Down Cake) Beta 1 SDK.
👉 Activity | Jetpack | Android Developers
2 issues were found when checking AAR metadata:
1. Dependency 'androidx.core:core-ktx:1.12.0-alpha03' 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-alpha03',
or set compileSdkPreview to "UpsideDownCake" in your build.gradle
file if you intend to experiment with that preview SDK.
2. Dependency 'androidx.core:core:1.12.0-alpha03' 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-alpha03',
or set compileSdkPreview to "UpsideDownCake" in your build.gradle
file if you intend to experiment with that preview SDK.
👉 Core | Jetpack | Android Developers
👉 android - Issues were found when checking AAR metadata: androidx.core:core:1.12.0-alpha01 and androidx.core:core-ktx:1.12.0-alpha01 - Stack Overflow
🔗 まとめ
コアな Android SDK ライブラリの 非Stable版 は、APIバージョン Stable では使えない。