Android开发 解决Installation failed due to XXX 问题

时间:2025-04-02 15:18:12

报错信息

Android studio 安装app的时候以下报错

Installation did not succeed.
The application could not be installed.
Installation failed due to: 'UNKNOWN'

 

报错原因

手机里没有卸载干净app(之前你可能是用Android studio 安装的debug版本)

解决办法

uninstall 包名

2.手机直接恢复出厂设置