I have a Sony Z5 Compact running Nougat.
I am unable to install Facebook Messenger. When I try I get the Error Code -505.
I have tried installing using ADB with the following command:
adb install com.facebook.orca_108.0.0.10.70-51197341_minAPI21\(armeabi-v7a\)\(280,360,400,420,480,560,640dpi\)_apkmirror.com.apk
Which seems to be the latest stable version from apkmirror.com.
I get the error message:
Failed to install com.facebook.orca_108.0.0.10.70-51197341_minAPI21(armeabi-v7a)(280,360,400,420,480,560,640dpi)_apkmirror.com.apk: Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.facebook.orca attempting to redeclare permission com.facebook.receiver.permission.ACCESS already owned by com.facebook.appmanager]
Is this something I have done? The phone is not rooted, nor have I unlocked the boot loader.
Apart from wiping the phone is there anything I can do to get the app installed? (I'm aware of all the 3rd clients, but I would really like to solve this problem.)
The app was installed before the upgrade to Android 7, but an update would not install.
I have done the usual steps like restarting, empty cache and data of Play Services, etc.
This is not a duplicate of How do I deal with unknown installation error code -505?, which was supposed to be solved with an upgrade to Android 5.0.2. I am running Android 7.
Package com.facebook.orca attempting to redeclare permission com.facebook.receiver.permission.ACCESS already owned by com.facebook.appmanager
. So your solution would be a) to uninstallcom.facebook.appmanager
or b) have its developer fix the package (or c) not installcom.facebook.katana
). Not sure where that one originates, it's not listed on Playstore. The two packages cannot coexist if they both declare the same permission as their own. – Izzy Mar 08 '17 at 17:44com.facebook.manager
, there's nothing you can do. Not sure ifadb shell "pm hide com.facebook.manager"
would achieve a thing. – Izzy Mar 09 '17 at 10:20adb shell pm uninstall -k --user 0 com.facebook
assuming that you did not have root privillege. If you actually did disable(which you meant uninstall), you can do pm enable from adb shell. – atheros Sep 18 '20 at 21:17