gpt4 book ai didi

android - 使用 android/support/v13/view/DragStartHelper 构建失败

转载 作者:行者123 更新时间:2023-11-29 15:36:21 25 4
gpt4 key购买 nike

我正在做一个用过的项目

compileSdkVersion 26
buildToolsVersion '25.0.0' and
compile 'com.android.support:support-v13:26.1.0'

在之前构建应用程序时出现此错误,它工作正常。

  • 出了什么问题:任务“:app:transformClassesWithJarMergingForDebug”执行失败。

    com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/v13/view/DragStartHelper$OnDragStartListener.class

最佳答案

您应该将以下行添加到您的 build.gradle 文件中

configurations.all{ resolutionStrategy{
exclude group: 'com.android.support', module: 'support-v13'
}}

关于android - 使用 android/support/v13/view/DragStartHelper 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49082597/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com