清单合并失败,同时添加了生命周期扩展依赖性

时间:2018-08-22 15:01:04

标签: android android-studio dependencies

我开始使用材质设计组件在android项目中实现建筑组件,并且我发现添加这些依赖项时会产生一个问题

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "androidx.lifecycle:lifecycle-extensions:2.0.0-rc01"
api 'com.android.support:design:28.0.0-rc01'
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'}

我已经尝试了该站点的一些解决方案(从rc转换为alpha),但是问题仍然存在,或者会产生另一个问题,例如

  

找不到TextInputLayout


或类似的东西...
那么,这里有什么帮助吗?我是否以正确的方式实现依赖关系? 还是我想念什么?

0 个答案:

没有答案