无法在接收 INSTAL_FAILED_CONFLICTING_PROVIDER 的设备上安装应用程序

fail to install app on my device receiving INSTAL_FAILED_CONFLICTING_PROVIDER

当我尝试使用 android studio 构建我的应用程序时,我遇到了以下错误:

点击确定后无法卸载应用程序,因为我已经卸载了它。我收到以下错误:

$ adb shell 下午卸载 com.siritime DELETE_FAILED_INTERNAL_ERROR 安装 APK 时出错

我之前能够 运行 我设备上的应用程序,几天前我使用 GCM 添加了推送通知功能,我不确定问题是否与此相关(我将 GCM 代码添加到我的项目并对其进行了定制)。该应用程序可以 运行 在 similature 或其他设备上运行良好,但不能在我的设备上运行,

你能指导我 phone 有什么问题吗? 我已经在不同的页面上测试了一些其他的解决方案,但它们对我不起作用>>像 this one...

我没有使用过提供程序,我应该实施一个吗?

我从 GCM 推送通知示例代码添加的清单部分是:` />

    <service
        android:name=".peyv.gcm.MyInstanceIDListenerService"
        android:exported="false">
        <intent-filter>
            <action android:name="com.google.android.gms.iid.InstanceID" />
        </intent-filter>
    </service>


    <service
        android:name=".peyv.gcm.MyGcmListenerService"
        android:exported="false">
        <intent-filter>
            <action android:name="com.google.android.c2dm.intent.RECEIVE" />
        </intent-filter>
    </service>
    <service
        android:name=".peyv.gcm.RegistrationIntentService"
        android:exported="false"></service>

`

谢谢大家

亲爱的,我自己发现了这个问题,所以我不知道其他人是否会遇到这个问题,我只是分享我的解决方案,希望它能帮助别人:

我像这样将 applicationID 添加到我的 gradel

defaultConfig {
    applicationId "App Package Name like com.example"
    multiDexEnabled true
    minSdkVersion 15
    targetSdkVersion 22
}

谢谢大家。