Android studio 运行时报错Do you want to uninstall the existing application?的解决方法

转载自:https://www.cnblogs.com/1124hui/p/6609689.html

(解决方法)Android studio 运行时报错Do you want to uninstall the existing application?的解决方法

在Android studio中,有时运行会报错:

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?

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

在网上到处找,找到很多方法,但是对我大多没用,我自己是用最后一个办法解决的

1.等模拟器运行后再run程序。

2.是不是之前安装过,卸载再安装。

3.clean项目,重新编译运行。

4.换模拟器。

5.修改gradle(这个没用试过)

6.我是通过这个办法解决的问题,关闭快速运行

步骤如下点击file->settings->build,execution,deploym

->instant run 去掉第一个选项上的勾enable...

再次run就可以了。

希望对大家有帮助

猜你喜欢

转载自blog.csdn.net/lv18092081172/article/details/83384981