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)选项: