小米手机安装apk时 Unknown failure (Failure - not installed for 0) Error while Installing APKs

版权声明:本文为博主原创文章,转载请注明出处。 https://blog.csdn.net/qq_18824545/article/details/71167190

stackoverflow 原文地址

两种方法:

1.在手机中禁止MIUI优化
设置->更多设置->开发者选项->启用MIUI优化,选择关闭,重启手机

2.在Android studio的设置中禁止Instant Run
File->Settings->Build, Execution, Deployment->Instant Run(把最上面的勾去掉)

猜你喜欢

转载自blog.csdn.net/qq_18824545/article/details/71167190