execution failed for task ‘:app:transformDexWithInstantRunSlicesApkForDebug’
可以grade成功,但是不能正常安装在模拟器上,原因缺少slices.apk。这个apk文件正常情况下会在build文件中生成。
解决办法:
File->Settings->Built,Execution,Deployment->Instant Run
不用勾选Enable Instant Run to hot swap code/resource changes on deploy(default enabled)