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'