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

Android 5 lollipop update remove all AIR apps

  • November 16, 2014
  • 43 replies
  • 59333 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

MJD1981
Inspiring
February 19, 2015

I now have Samsung Galaxy S5 users reporting that my AIR apps stop working after their latest system update. Could this be the same problem? I hope a more stable experience can be offered soon...

MJD1981
Inspiring
December 26, 2014

My Nexus 4/5 users are reporting that performance took a major hit since 5.0.1. Is there any hope of fixing that?

dcman21
Participant
December 26, 2014

I don't know anything about adobe air but I can't update modern combat 5 and asphalt 8 on my n7 2013 running 5.0.1. Same 505 error message appears. It's still opening but it is not updated. I also can't install the game gangstar Vegas.

dappledore
Participating Frequently
December 26, 2014

From what i can tell those games dont use Adobe AIR since there is no air in the package name , so its not an AIR issue. cheers

zeh
Inspiring
December 22, 2014

Remember that error -505 is a generic error when trying to use different signatures. You can get that error in any number of ways; doesn't mean it's the same problem. If you run a debug version (with a local test certificate) and then try updating from Google Play, for example, you'll get that error, since they have different certificates.

Inspiring
December 22, 2014

Doesn't Google Play do the same check before uploading to prevent that?

lmbhd
Participant
December 19, 2014

Nexus 6 I get the error 505 on Android 5 and also with 5.0.1 update.

Known Participant
December 19, 2014

lmbhd wrote:

Nexus 6 I get the error 505 on Android 5 and also with 5.0.1 update.

We're getting this too, on a recent model phone - not sure which make/model, but I'll report back when I find out.

The developer who reported this also reports that a similar app developed by a friend of ours is not exhibiting this symptom. I'll try to find out what the difference is between the way the two apps are getting built.

chris.campbell
Community Manager
Community Manager
December 19, 2014

Thanks Steve and lmbhd.  Please let us know any additional details when you can and we'll investigate further.

Chris

Participating Frequently
December 11, 2014

We've had the 5.0.1 update through on our Nexus 10 now, and all the AIR apps have magically come back now. Phew.

Known Participant
December 11, 2014

Sorry to spam all of you following this thread. But are there any updates on this? Is the 5.0.1 update coming to devices at the moment? My Nexus 5 says the updates were last checked "^1", which looks like a bug to me. Has anyone actually seen the OTA update and been able to confirm it will fix the issue? I live in Finland and the device is Finnish (which may also cause the "^1" bug, if there's a typo in Android's language file).

Participating Frequently
December 11, 2014

I can confirm that updating to 5.0.1 from 4.4.4 works. I haven't gotten the update on my 5.0.0 device so I can't tell you if it will fix the missing apps (I assume it will) or if there is any issue with air apps that were installed in 5.0.0 then upgraded to 5.0.1.

Inspiring
December 11, 2014

Got 5.0.1 on Nexus 7 and missing apps installed automatically.  Also my HTC One GPe went straight to 5.0.1 so no issue there.  Definitely 5.0.1 fixes it based on what I have seen.

zeh
Inspiring
December 3, 2014

I think Chris is right. I've checked a version of the commit logs myself and there's this:

32a22c44b8351c1cccd3a1f9c47a33469d9378e0 - platform/frameworks/base - Git at Google

Recover apps with malformed certificates.

There was a window of time in Lollipop where we persisted certificates

after they had passed through a decode/encode cycle. The well-written

OpenSSL library was liberal when decoding (allowing slightly malformed

certs to be parsed), but then strict when encoding, giving us

different bytes for effectively the same certificate.

A related libcore change (0c990ab4a90b8a5492a67b2b728ac9a4a1ccfa1b)

now returns the original bytes verbatim, fixing both pre-Lollipop

installs and installs after that change.

This change recovers any apps that had been installed during the

window of time described above by doing a one-time check to see if

the certs are effectively equal.

Which seems to be exactly related to the problem. Additionally, it does recognize and recover from the error, so apps that have been installed with 5.0 will still be valid after the signature check is back to normal.

The interesting part is that this seems to have been fixed 3 weeks ago, on Android 5.0.0_r7. However, it didn't make it to Nexus 5/6 (5.0.0_r5) nor Nexus 7/10 (5.0.0_r6) and that's why those were the affected devices.

Participating Frequently
December 3, 2014

I don't know if this will help but there are the two entries in Google's issue tracker for our issue.

https://code.google.com/p/android/issues/detail?id=79375

https://code.google.com/p/android/issues/detail?id=79089

If you have not done so, please star these (click the star by the issue number). It may help the raise the visibility/priority of the issue.

Participant
December 3, 2014

Google release Android 5.0.1

Does anybody install it? Maybe this fix the problem.