I have a nexus 9 with android lollipop but I get the error code -505 trying to install some apps from the Play Store.
These apps are:
- asphalt 8
- dungeon hunter 4
- six guns; and
- other gameloft game
Other apps works install fine but these games don't.
Can you tell me what this error code means? Can you suggest to me how I can fix it?
You should be able to install the App again if you follow the answers on this post about uninstalling Apps for all users on Android 5.0 Lollipop:
INSTALL_FAILED_DUPLICATE_PERMISSION... C2D_MESSAGE
Let me guess - you your apps were made with adobe air?
It's a bug google introduced with lollipop. Its related to the SHA1 generation from some certificates.
See:
There is basically no solution except to wait for google to fix it or re-sign your app with a different key. But then you can't update it in the play store either.
If the app was installed on your device before the lollipop update, but is now gone, a workaround might be to uninstall the app using
adb uninstall
and then install it again.update: As far as I know this is partially fixed in Android 5.0.1 and completely fixed in 5.0.2
I must say if you have more accounts in lollipop you must once uninstall from all user. Means go to settings - app - in your app on settings icon delete from all user is an option click on that an install again.
I also had this issue. I was releasing Sandbox and Production (different Android Flavors) apps with different package names, but same GCM permissions.
I started using
${packageName}
in AndroidManifest.xml file.I changed from
to
And in receiver's intent-filter from:
to:
I received this error when attempting to install Pure Calendar widget. Logcat showed that my GTasks app already had permission to read tasks. Apparently under 5.0 there can be only one. I uninstalled GTasks and Pure Calendar widget installed fine. I the attempted to reinstall GTasks and got the same error with similar results in logcat. Apparently Google has made it so only one app can have a specific permission. This will be VERY limiting if they don't fix it.