Skip to main content
dappledore
Participating Frequently
November 16, 2014
Question

Android 5 lollipop update remove all AIR apps

  • November 16, 2014
  • 43 replies
  • 59335 views

I updated to Android 5 OTA on two Nexus 7 2014 and 2013, after upgrading all the AIR apps were removed, native apps remained. I tried to install the apps from Google Play and i got an 505 install error. 

The logcat error is below:

E/Finsky(4449): [1] PackageInstallerImpl.handleCommitCallback: Error -505 while installing air.com.123.456 INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package couldn't be installed in /data/app/air.com.123.456-1: Package air.com.123.456 signatures do not match the previously installed version; ignoring!

The apps are the same as before upgrading , they were not updated, the certificate is the same.

Anyone else seen this problem, is there an AIR patch?

I can install the app by "adb uninstall" command then re installing from Google play.

This topic has been closed for replies.

43 replies

Reactor13
Inspiring
November 19, 2014

We have the same problem: -505 error

chris.campbell
Community Manager
Community Manager
November 19, 2014

We've learned that this issue and the self signed cert issue  have the same root cause.  While it's possible that the workarounds described in the self signed cert post might work here for new applications (untested), existing content will require a fix from Google.  We'll continue to work with Google to correct these problems and keep you up to date.

Thanks,

Chris

November 20, 2014

I have the same issue for my game: https://play.google.com/store/apps/details?id=air.air.onkgames.Capitulum

It seems that the problem does not affect new installations. Only people who had the application before passing under lollipop have the error 505.

zeh
Inspiring
November 19, 2014

Also had the same problem.

I started seeing a lot of "uninstalls" reported on my Google Play statistics for Kana Mind, going from the typical ~40 uninstall/days to about 150 the next day. 117 of those were Android 5.0 (and I only had 3 Android 5.0 uninstalls the previous day, so yeah, something was going on). Everything I've seen about the problem matches what was reported: applications were getting uninstalled (and reported as so) during the update to Android 5. The application was compiled with Air 13.

https://twitter.com/zeh/status/534862009452748801

https://play.google.com/store/apps/details?id=air.com.zehfernando.KanaMind

Coincidentally I got the OTA the same day on my Nexus 5. It gave me a good chance to test, and sure enough, I had the same problem happen: the icon was there, but I could not run the app, could not uninstall, could not reinstall.

https://twitter.com/zeh/status/534815983689793536

I could uninstall with Android SDK's adb and then reinstall. But of course that's not something you'd expect most users to know, or do, since it requires installing drivers, the Android SDK, and changing options on the phone.

@celadora: where did you hear that a new certificate works? Do you have more information?

Everything seems to indicate that it's a certificate signing issue because the keys verification differ in some way - if there's any way to create a key that matches the old key, it would at least allow people to install a new version without complications, and potentially allow updates seamlessly if they're properly signed before the Android update.

(Remember that Android allows APKs to be signed with more than one certificate, so if a new certificate works, you could just double sign it - once with the correct one, and once with whatever certificate works against the old version)

Never mind. Signing with several certificates seem to have been disabled, and the store will reject your file.

Inspiring
November 19, 2014

a new certificate doesn't work, using "adb uninstall" and reinstalling from Google Play and it work, but it's no possible for all users app.

celadora
Participant
November 19, 2014

We are also having the same issue;

I'ved added to this ticket here:

Issue 79375 - android - Unknown error during application installation -505 - Android Open Source Project - Issue Trac…

My users are also having this issue

.

1. For users who upgraded via OTA or Sideloaded (both nexus 5 and nexus 7) to lollipop, all the AIR based apps were removed and when trying to reinstall gets error 505.

2. For users who upgraded OTA or Sideload and did a factory reset afterwards, everything works properly.

We've tried routes such as appuninstaller but the apps don't appear. I don't want to instruct my users on how to use adb as that is just a bad message to send.

Here is a thread on the dev preview regarding this;

https://code.google.com/p/android-developer-preview/issues/detail?id=1668

Here is a developer who worked with google and has more info on this:

https://minimega.zendesk.com/hc/en-us/articles/203101708-Error-505-when-installing-Bonza-on-Android-5-0

Inspiring
November 19, 2014

I confirm this problem on my Nexus 5 Android 5 lollipop, error 505, all air app not installed.

ciaoamigos1973
Inspiring
November 19, 2014

Taken from this post:

https://code.google.com/p/android-developer-preview/issues/detail?id=1668

See comments #45 -> "Google is working with Adobe to fix the issue, but there is no time scale."

dappledore
Participating Frequently
November 19, 2014

Hi Chris,

There definitely is some issue and is not just one offs, on Empire Four Kingdoms , a popular AIR app, there is reviews now popping up about the issue.

Empire: Four Kingdoms - Android Apps on Google Play


Update Just upgraded to Android 5.0. Game was no longer installed after update. I've tried to reinstall 3 times and no luck. Keep getting an installations error.


Doesn't work with Android Lollipop The game is nice and micromanagement mechanics are addictives. Nevertheless the game crashed running in the last Android version. I have recently updated to Android 5 Lollipop and the game has disappeared. I have tried to install again but it is not possible. Seems that the game is not prepared for the Lollipop...

Doesn't work in Android v5 lollipop Cannot log in to my nearly an year old account after upgrading to Android v5 lollipop. In fact the game, uninstalls and never allows for reinstall even with multiple attempts.


This is serious issue, basically wipes out all apps from device and then cant reinstall! The worst case.



chris.campbell
Community Manager
Community Manager
November 19, 2014

I'm going to meet with the mobile team later today and expect to have an update posted here shortly afterwards.  Definitely agree that both of these issues (IAP and Delete/Unable to reinstall) are critical issues and we'll make sure to keep you apprised. 

Chris

chris.campbell
Community Manager
Community Manager
November 19, 2014

Quick status report:

We were previously unaware of this bug and contrary to other reports, were not working with Google on a fix.  However, we are working with Google on another self signed cert issue that is impacting in app purchases.  It's possible the two are related, but we do not have enough information at this time to determine one way or the other.

That said, we'll be escalating this issue with Google immediately.

We haven't been able to reproduce this problem internally.  We're going to expand our testing and engineering will be canvasing the forum posts and bug reports for additional clues.  If anyone has a solid reproducible case, please let us know what device, app, and OS version you were using before upgrading.

We'll continue to update this thread with any status changes as they become available.

JohnathonW
Participant
November 18, 2014

I love how Android dev always manages to be painful, even with cross platform tools. With PhoneGap you spend a disproportionate amount of time fighting with the Android browser. Now even Adobe AIR isn't immune. After I die Android bugs will still find a way to waste my time.

chris.campbell
Community Manager
Community Manager
November 18, 2014

Hi all,

I was aware of a certificate problem with in-app billing in Lollipop and we have escalated this issue with Google.  I was not aware of apps being removed.  Unless this is cert related, I'm not sure who is working on this with Google.  I'll follow up internally and see if I can get more info.

Chris

BenjaminParis
Participating Frequently
November 18, 2014

Hi, same problem for me. A user reported the 505 error on my app after upgrading to Android 5.0 on his Nexus 7 2012.

Unfortunately I have no solution for him.