包含变形杆菌库时出错 - "android.support.v7.appcompat.R$layout"



以下是app/build.gradle文件

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation ('com.github.flipkart-incubator:proteus:5.0.0-rc12') {
        exclude group: 'com.android.support-v7'
        exclude module: 'appcompat-v7'
        exclude module: 'support-v4'
    }
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:design:28.0.0'
    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'
}

错误 -

错误:程序类型已经存在: android.support.v7.appcompat.r $布局

完成错误-https://gist.github.com/sisogit/055C93DDC08B1E24C6AE0E4C6F1129F0

试图将proteus中的某些LIB排除为exclude标签,但没有帮助。

请帮助。

步骤 - 1.在Studio中创建空项目。

  1. 运行>>正常工作

  2. 添加implementation ('com.github.flipkart-incubator:proteus:5.0.0-rc12')并运行项目

它将给出错误

此问题已在版本5.0.0-rc14

中固定

最新更新