Instant Run performed a full build and install since the installation on the device does not match t

来源:互联网 发布:新西兰留学知乎 编辑:程序博客网 时间:2024/06/06 12:23
这是因为当前项目的
buildToolsVersion

与本机用的buildToolsVersion不匹配造成的

有时候AS会自动提示你更新,有的时候就不会

-----------------------------------------------------------------------------------------

解决办法:

新建一个项目,看看build.gradle中的buildToolsVersion是多少(一般都是最新的)

然后把当前项目的buildToolsVersion改为这个最新版本就行了

问题解决

阅读全文
2 1