Android 它在生成应用程序时显示错误

Android 它在生成应用程序时显示错误,android,gradle,Android,Gradle,当我尝试构建我的应用程序时,它的构建过程将停止,并在logcat中显示以下消息:它显示错误 Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException:java.util.zip.zipeException:重复条目:org/lucasr/twowayview/BuildConfig.class

当我尝试构建我的应用程序时,它的构建过程将停止,并在logcat中显示以下消息:它显示错误

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException:java.util.zip.zipeException:重复条目:org/lucasr/twowayview/BuildConfig.class

我的build.gradle文件是

android {
compileSdkVersion 25
buildToolsVersion '26.0.1'
defaultConfig {
    applicationId "community.infinity"
    minSdkVersion 16
    targetSdkVersion 25
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    multiDexEnabled true
}
buildTypes {
    release {
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

}您正在使用快照版本:

编译'org.lucasr.twowayview:core:1.0.0-SNAPSHOT@aar"

编译'org.lucasr.twowayview:layouts:1.0.0-SNAPSHOT@aar"

和稳定的版本都在同一时间

编译“org.lucasr.twowayview:twowayview:0.1.4”

尝试删除其中任何一个。一次只能使用一个

访问:

您使用的是com.android的两个不同版本。支持:design和com.android。支持:appcompat即使删除了不同的版本,错误仍然存在same@CagriYalcin
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
    exclude group: 'com.android.support', module: 'support-annotations'
})

compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'com.android.support:support-v4:25.3.0'
    compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.adamstyrc.cookiecutter:cookie-cutter:1.0.2'
compile 'com.allattentionhere:fabulousfilter:0.0.3'
compile 'com.github.florent37:diagonallayout:1.0.6'
compile 'com.flaviofaria:kenburnsview:1.0.7'
compile 'com.github.developer-shivam:FeaturedRecyclerView:1.0.0'
compile 'com.xujinyang.BiuEditText:library:1.4.1'
compile 'com.vstechlab.easyfonts:easyfonts:1.0.0'
compile 'gun0912.ted:tedbottompicker:1.0.12'
compile 'com.github.nkzawa:socket.io-client:0.5.2'
compile group: 'com.google.code.gson', name: 'gson', version: '2.3.1'
compile 'org.lucasr.twowayview:twowayview:0.1.4'
compile 'org.lucasr.twowayview:core:1.0.0-SNAPSHOT@aar'
compile 'org.lucasr.twowayview:layouts:1.0.0-SNAPSHOT@aar'
compile 'com.android.support:multidex:1.0.1'

testCompile 'junit:junit:4.12'