支持兼容库的 AndroidX 等价物是什么?
What is the AndroidX equivalent of support-compat library?
我正在尝试按照 https://developer.android.com/training/notify-user/build-notification
中的示例实施通知
但是,该指南显示了
的实现
dependencies {
implementation "com.android.support:support-compat:28.0.0"}
但是当我尝试在我的 gradle 文件中添加依赖项时,出现此错误:
Version 28 (intended for Android Pie and below) is the last version of the legacy support library, so we recommend that you migrate to AndroidX libraries when using Android Q and moving forward. The IDE can help with this: Refactor > Migrate to AndroidX..
那么这个库的 AndroidX 版本是多少?
那就是
implementation "androidx.core:core:1.3.2"
您可以在 https://developer.android.com/jetpack/androidx/migrate/artifact-mappings
找到所有映射到 AndroidX 的列表
我正在尝试按照 https://developer.android.com/training/notify-user/build-notification
中的示例实施通知但是,该指南显示了
的实现dependencies {
implementation "com.android.support:support-compat:28.0.0"}
但是当我尝试在我的 gradle 文件中添加依赖项时,出现此错误:
Version 28 (intended for Android Pie and below) is the last version of the legacy support library, so we recommend that you migrate to AndroidX libraries when using Android Q and moving forward. The IDE can help with this: Refactor > Migrate to AndroidX..
那么这个库的 AndroidX 版本是多少?
那就是
implementation "androidx.core:core:1.3.2"
您可以在 https://developer.android.com/jetpack/androidx/migrate/artifact-mappings
找到所有映射到 AndroidX 的列表