error:
错误:任务“:app:transformClassesWithJarMergingForDebug”执行失败。
com.android.build.api.transform.TransformException:java.util.zip.ZipException:重复条目:android/support/v7/widget/StaggeredGridLayoutManager$SavedState$1.class
依赖项:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':cheetah-mobile-3.4.7')
compile 'com.android.support:multidex:1.0.1'
compile('com.android.support:appcompat-v7:24.0.0') {
force = true;
}
compile('com.android.support:design:24.0.0') {
force = true;
}
compile 'com.google.firebase:firebase-ads:9.4.0'
compile 'com.google.android.gms:play-services-appindexing:9.4.0'
compile 'com.android.support:support-v4:24.2.0'
compile 'com.github.deano2390:MaterialShowcaseView:1.1.0'
compile 'com.google.android.gms:play-services-ads:9.4.0'
compile 'com.google.android.gms:play-services-location:9.4.0'
你检查过你的 libs 文件夹吗?
如果它包含回收视图,请将其删除并添加到build.gradle
so
compile 'com.android.support:recyclerview-v7:24.0.0'.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)