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_188.8.131.52.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_184.108.40.206.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.