本文介绍了Android的工作室TransformException:错误:执行失败的任务“:应用程序:transformClassesWithDexForDebug”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我收到的时候我试图运行使用的应用程序下面的异常Android的工作室:
解决方案
I have same issue, after few hour research, i found a solution to fix it.
You should fixed build.gradle :
android {
compileSdkVersion 21
buildToolsVersion '21.1.0'
defaultConfig {
...
targetSdkVersion 21
multiDexEnabled true
}
}
For information on how to do this, see Selectively compiling APIs into your executable and Building Apps with Over 65K Methods
这篇关于Android的工作室TransformException:错误:执行失败的任务“:应用程序:transformClassesWithDexForDebug”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!