设置instant run 为空
image
(1)File->settings->Build,Execution,Deployment->InstantRun
(2)将Enable Instant Run to hot swap code/resource changes on deploy(default enabled)的选择框置为空
(3)点击OK
找到gradle.properties文件
添加 android.injected.testOnly=false;
ps:解决vivo手机安装失败(无法解析)问题
网友评论