client库 androidX是否可以替换为非androidX?

dong 2021-7-13 570

def lifecycle_version = '2.0.0-beta01' implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version" implementation "androidx.core:core-ktx:+" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.0.0-beta01"

先改成如下,可以编译,是否会有问题?

api project(':mars-core-release') implementation "android.arch.lifecycle:extensions:1.1.1" implementation "android.arch.lifecycle:viewmodel:1.1.1" implementation "android.arch.lifecycle:livedata-core:1.1.1" implementation 'com.android.support:support-annotations:28.0.0'

最新回复 (1)
  • x86 2021-7-13
    引用 2
    你好,不确定,这需要你们测试一下
返回