Android -505 lollipop error code during installation

I have nexus 9 with android lollipop, but I get error code -505 trying to install some applications from the Play Store.

These applications:

  • asphalt 8
  • dungeon hunter 4
  • six guns; and
  • another gameloft game.

Other applications work fine, but not in these games.

Can you tell me what this error code means? Can you suggest me how can I fix this?

+6
source share
5 answers

Let me guess - you, your applications were made with atomic air?

This is a mistake introduced by google with candy. Its relation to generation of SHA1 from some certificates.

Cm:

Basically there is no solution, except to wait for Google to fix it or rename the application with a different key. But then you also cannot update it in the play store.

If the application was installed on your device before updating lollipop, but now it is not there, a workaround might be to uninstall the application 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

+8
source

I also had this problem. I released Sandbox and Production applications (different Android accessories) with different package names, but with the same GCM permissions.

I started using ${packageName} in the AndroidManifest.xml file.

I changed with

 <!-- GCM specific permissions --> <permission android:name="com.playgong.permission.C2D_MESSAGE" android:protectionLevel="signature"/> <uses-permission android:name="com.playgong.permission.C2D_MESSAGE"/> 

to

 <!-- GCM specific permissions --> <permission android:name="${packageName}.permission.C2D_MESSAGE" android:protectionLevel="signature"/> <uses-permission android:name="${packageName}.permission.C2D_MESSAGE"/> 

And in the receiver, an intent filter from:

 <category android:name="com.playgong"/> 

in

 <category android:name="${packageName}"/> 
+7
source

I have to say that if you have more accounts for candy, you should delete all users one day. The tool goes to the settings - application - in your application, the icon for the settings icon to remove from all users is an option that needs to be installed again.

+5
source

You can install the application again if you follow the answers to this post about uninstalling applications for all users on Android 5.0 Lollipop:

INSTALL_FAILED_DUPLICATE_PERMISSION ... C2D_MESSAGE

+2
source

I got this error while trying to install the Pure Calendar widget. Logcat showed that my GTasks application already had permission to read tasks. Apparently, up to 5.0 there can only be one. I removed the GTasks and Pure Calendar widgets. I tried reinstalling GTasks and got the same error with similar results in logcat. Obviously, Google made it so that only one application can have a specific permission. This will be a VERY restriction if they do not fix it.

+1
source

Source: https://habr.com/ru/post/978461/


All Articles