Skip to content Skip to sidebar Skip to footer

Error -505 Install_failed_duplicate_permission:

I am working on a android VOIP Dialer. I unable to install my current app along with old app in a device. 01-07 12:05:05.115: E/Finsky(28214): [1] PackageInstallerImpl$2.onReceive

Solution 1:

It seems you are trying to declare same permission in two applications.

In order to keep both application installed, common solution for this problem is to use a dynamic prefix for your permission, preventing conflicts with other apps (as it happens for GCM configuration too):

<permission
    android:name="${applicationId}.permission.CONFIGURE_SIP"
    android:permissionGroup="${applicationId}.permission-group.COST_MONEY"
    android:protectionLevel="signature" /> 

Be careful to have applicationId value assigned in your Gradle configuration under android > defaultConfig.

Post a Comment for "Error -505 Install_failed_duplicate_permission:"