Installation did not succeed. The application could not be installed: INSTALL_FAILED_CONFLICTING_...

1.报错如下 Installation did not succeed.
The application could not be installed: INSTALL_FAILED_CONFLICTING_PROVIDER
Installation failed due to: 'null'
出现场景:我出现这个问题是修改包名,与APPID生成另一个应用是出现的。
原因:AndroidManifest.xml 里面provider 节点下面android:authorities 的值包含旧的包名。
解决:android:authorities 里面旧的包名修改为新的包名就好

你可能感兴趣的:(Installation did not succeed. The application could not be installed: INSTALL_FAILED_CONFLICTING_...)