美文网首页
Android TransformException: ZipE

Android TransformException: ZipE

作者: smallestt | 来源:发表于2019-01-03 16:52 被阅读0次

    解决:Multiple dex files define Landroid/support/design/widget/CoordinatorLayout
    I had the same error and was able to get my project to build by adding this at the bottom of my gradle file

    configurations.all {
        resolutionStrategy.eachDependency { DependencyResolveDetails details ->
            def requested = details.requested
            if (requested.group == 'com.android.support') {
                if (!requested.name.startsWith("multidex")) {
                    details.useVersion '27.1.0'
                }
            }
        }
    }
    

    相关文章

      网友评论

          本文标题:Android TransformException: ZipE

          本文链接:https://www.haomeiwen.com/subject/lykuhqtx.html