我正在尝试在我的应用程序中使用调味包名称。我应用了以下更改:
productFlavors {
production {
applicationId "com.xxx"
}
staging {
applicationId "com.xxx.staging"
}
}
当尝试安装应用程序时,我得到:
Installation failed with message INSTALL_FAILED_CONFLICTING_PROVIDER.
It is possible that this issue is resolved by uninstalling an existing
version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
接受后发生错误:
$ adb shell pm uninstall com.xxx.staging
DELETE_FAILED_INTERNAL_ERROR
Error while Installing APK
似乎它试图删除不存在的东西......有什么想法吗?