本文介绍了错误:执行失败的任务“:机器人:transformClassesAndResourcesWithProguardForRelease”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我跑项目时,每次我得到这个错误。我可以做一个干净,然后重新运行,和它的作品。但它不是一个最佳的解决方案。任何想法?
错误:执行失败的任务:机器人:transformClassesAndResourcesWithProguardForRelease。
解决方案
This bug happens when the versions of SDK, Build Tools and Gradle Plugins doesn't match (in terms of compatibility). The solutions is verify if you is using the latest versions of them. The gradle plugins are placed in the build.gradle of the project, and the other versions are on the build.gradle of the module. For example, for SDK 23, you must use the Build Tools 23.0.1 and gradle plugins version 1.3.1.
clean after change settings. (Solved my problem, and never seen it again.)
这篇关于错误:执行失败的任务“:机器人:transformClassesAndResourcesWithProguardForRelease”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!