Android studio编译报错:Error:Execution failed for task ':app:transformClasses_enhancedWithInstantReloadD

Android studio编译报错:Error:Execution failed for task ':app:transformClasses_enhancedWithInstantReloadDexForDebug'.

> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Return code 1 for dex process


从错上几乎看不出有什么有用的信息,但是解决方法就是去掉Enable instant run to hot swap code/resource changes on deploy(default enabled)选项:


阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yang5726685/article/details/52374697
个人分类: android Android Studio
上一篇关于android xmlns res-auto 自定义 attr命名空间
下一篇Android studio 运行失败:Installation failed since the APK was either not signed, or signed incorrectly.
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭