Skip to main content
dappledore
Participating Frequently
Nov 16, 2014 1:11 PM UTC
Question

Android 5 lollipop update remove all AIR apps

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 is closed to new replies. Start a new post to keep the conversation going.

96 replies

MJD1981
Inspiring
Feb 19, 2015 10:09 AM UTC

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...

Translate
MJD1981
Inspiring
Dec 26, 2014 3:37 AM UTC

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

Translate
dcman21
Participant
Dec 26, 2014 12:04 AM UTC

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.

Translate
dappledore
Participating Frequently
Dec 26, 2014 12:23 AM UTC

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

Translate
zeh
Inspiring
Dec 22, 2014 2:46 PM UTC

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.

Translate
Inspiring
Dec 22, 2014 3:51 PM UTC

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

Translate
lmbhd
Participant
Dec 19, 2014 4:43 PM UTC

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

Translate
Known Participant
Dec 19, 2014 5:59 PM UTC

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.

Translate
chris.campbell
Legend
Dec 19, 2014 8:53 PM UTC

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

Chris

Translate
Participating Frequently
Dec 11, 2014 9:43 PM UTC

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.

Translate
Known Participant
Dec 11, 2014 7:41 PM UTC

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).

Translate
Participating Frequently
Dec 11, 2014 7:47 PM UTC

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.

Translate
Inspiring
Dec 11, 2014 9:18 PM UTC

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.

Translate
zeh
Inspiring
Dec 3, 2014 6:48 PM UTC

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.

Translate
Participating Frequently
Dec 3, 2014 3:53 PM UTC

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.

Translate
Participant
Dec 3, 2014 11:20 AM UTC

Google release Android 5.0.1

Does anybody install it? Maybe this fix the problem.

Translate