e的transformClassesWithJarMerging

e的transformClassesWithJarMerging

本文介绍了Gradle的transformClassesWithJarMergingForDebug FAILED问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始从事Android开发,一直在努力开发自己正在开发的应用.

I am fairly new at Android development and have been struggling to get a working build of an app I am working on.

在使用Gradle构建后,我收到以下错误:

I receive the following error after a build with Gradle:

失败:构建失败,并出现异常.

FAILURE: Build failed with an exception.

  • 出了什么问题:任务':app:transformClassesWithJarMergingForDebug'的执行失败.
  • What went wrong: Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

我(认为)我使用同一'support-v4'模块将问题缩小到多个库,但不确定.我可以提供更多详细信息.谢谢.

I (think) I narrowed the issue down to multiple libraries using the same 'support-v4' module, but I'm not sure. I can provide more details. Thank you.

推荐答案

我通过删除重复的.jar文件来解决此问题.

I fixed this by deleting .jar files that were duplicates.

这篇关于Gradle的transformClassesWithJarMergingForDebug FAILED问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 01:33