Installation did not succeed. The application could not be installed: INSTALL_FAILED_CONFLICTING_PRO
程序员文章站
2024-02-08 10:41:46
...
环境:
Android Studio 3.5.1
操作:
修改包名,运行项目(修改包名之前有成功运行过项目)
报错:
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_CONFLICTING_PROVIDER
Installation failed due to: 'null'
解决:
检查包名修改后是否含有中文或者特殊符号,项目中的每个类包名是否替换成功。
把手机上的相应APP或者模拟器上相应的APP卸载掉,重新运行即可。