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

Android 5 lollipop update remove all AIR apps

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

RossD20Studios
Known Participant
December 1, 2014

This issue is occurring in my AIR game as well, tracking here: Android 5.0 Not compatible?

I had thought posting an app update with latest AIR version fixed issue but it did not. It only worked on my device because Adobe compiler deleted the old install. Installing from the app store doesn't work if previously installed before upgrade to Android 5.

I'm a bit concerned that the current plan is to fix in next Google OTA update. This could take weeks or months and it's not good customer service to pin this on Google and tell players to wait. In the meantime, is there not a better fix to help users than asking them to use ADB?

chris.campbell
Community Manager
Community Manager
December 1, 2014

I apologize for the lack of updates, I'm just back from the Thanksgiving holiday in the US.  Your current options for *new* applications continue to be:

  • Use the 2048-RSA algorithm (you'll need to select this manually when creating the cert as the default is 1024)
  • Update to our beta ADT which will correctly work with both 1024 and 2048 keys

We're continuing to work with Google.  Addressing the issue with existing applications unfortunately will require an update by Google, not Adobe.  I do not have an estimate when this will occur but I will update this thread once I have something I can share.

Known Participant
December 1, 2014

I have an app in the GooglePlay store, but it's still in beta development and hasn't been distributed outside my development team. The existing certificate is 1024-RSA. 

Chris Campbell wrote:

  • Update to our beta ADT which will correctly work with both 1024 and 2048 keys

Can I just compile with the beta version of ADT at this point and keep my existing GooglePlay entry and appID? Or would it be safer to generate a new 2048-RSA key, and create a new entry in the GooglePlay store?

adoberuth
New Participant
November 28, 2014

I'm here with the same problem. I upgraded to 5.0 on my Nexus 10 last week and today when I tried to use the itvplayer app it said it wasn't installed - even though the shortcut was there! So I went to download it from playstore only to get this error message like other screen shots here. I've taken off my antivirus/firewall type stuff but it still wouldn't install. Any ideas would be very welcome.

New Participant
November 28, 2014

It's been a more than a week without any further information...

Please keep us informed about any kind of progress, even the tiniest one.

We need to know what's going to happen!

And we need react to our customers complaints. This is pretty severe!

Known Participant
November 26, 2014

Hi folks,

I have a new app that is scheduled for launch next week. I've got the new atd.jar file, and am planning to generate a new certificate using RSA-2048 encryption.  I think, from what I've read so far that it's safer to target AIR 14 than AIR 15 - can somebody confirm this please?

I'm hoping this will be enough to avoid having issues, but I'd like to do some testing in advance. Does anybody know if these issues can be reproduced in the Android Simulator?

Steve Warren

Senior Software Engineer

steve@spekaboos.com

Inspiring
November 27, 2014

@speakaboo-steve from what I understand AIR 14 and 15 are both affected, but using the new jar and a certificate made with RSA-2048 encryption should do the trick. The issue occurs when the app is installed under Android 4.4, then the OS is upgraded to Android 5. I'd bet you'd see it in the simulator if it's possible to upgrade the OS there.

I'm surprised at how many of my customers are comfortable using ADB to fix the problem (though it nukes their data). Reactor13's instructions are helpful; here they are translated to English:

https://translate.google.com/translate?sl=ru&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fwww.airbits.ru%2Flollipop505.htm&edit-text=&act=url

Another solution I'm offering my customers is a link to an APK built with a different ID and certificate. Unfortunately it can't access the data from the original app, and there's nothing to stop this file from getting passed around except the honor system.

zeh
Inspiring
November 26, 2014

I think there's a lot of misinformation flying. Everyone need to read the thread carefully.

1. Using the new signing process will not fix anything for existing apps. The problem with existing apps is with the current signed certificate, and you can't change certificates on published apps.

2. This is not an Air problem exactly. Trying different or beta versions of Air will make no difference.

3. It is possible that old apps are not affected. It depends on how the app cert was generated. It just happens that the default/recommended method of generating the very is the one that's causing trouble.

Also of note: I think Google may have stopped pushing OTA updates to Nexus devices. That, or the OTA is done. My "uninstall" have dropped to normal numbers.

Inspiring
November 26, 2014

Thanks zeh for the clear easy to relate information. Hoping Google/Adobe find a solution soon.

MJD1981
Inspiring
November 26, 2014

My AIR 14 apps haven't been affected, so I wonder if reverting back could be a temporary solution? I can't recall whether there were any important Android changes between 14 and 15, 16...

dappledore
Participating Frequently
November 26, 2014

Air 14 (0.0.125) i think fixed an OpenSSL security issue that Google warned developers about on Google play, if you use a version below this , you could get your app removed. I had version 14 apps and they go removed also by Android 5.

Google play and Adobe air: Security Alert: You are using a highly vulnerable version of OpenSSL

Reactor13
Inspiring
November 24, 2014

For our customers we prepared instruction how to use ADB. I hope this will help, while Google & Adobe prepare fix.
In russian - http://www.airbits.ru/lollipop505.htm

Participating Frequently
November 25, 2014

Reactor13
Your users will need to have USB Debugging enabled for that to work. Most users will need help to enable it. You also might want to add a batch (RunThis.bat) file to your zip to automate the process.

Inspiring
November 26, 2014

Side loading doesn't work for me. The link that Chris sent suggested the fix would require an OTA from Google.


@LogicOnTap Maybe it is just a fluke and I will retry but apps that I couldn't install on Play can be installed via side load.  What happens when you try to side load, I think error 505 is a play error, is there a different error via the installer or does it just fail.  Anyway, agree that if side loading isn't reliable then not an option, I had success when I tried but haven't tested enough.

Inspiring
November 22, 2014

Same here, hundreds on uninstall reports from both my Apps since Lollipop rolled out and you can't install again just get the -505 error.

chris.campbell
Community Manager
Community Manager
November 22, 2014

Just added a new blog post that describes the current problems and workarounds.  We've also provided a beta version of ADT (linked in the post) that fixes the 1024-RSA issue with new applications.

Adobe AIR and Android 5.0

November 22, 2014

Thanks Chris (also for working on saturday).

Do you have any idea about when the upcoming OTA updates for Android 5.0. wil be available for existing apps?

I mean, not the exact date, but let's say "december", or "january" or whatever?

I ask because I need to update my users when the problem will be fixed.

One of my app just reached 500,000 download, okay it's not 10,000,000+ like "Empire four kingdom" but I have a pretty nice number of followers that I think must be informed.

Thanks!

Participating Frequently
November 21, 2014

I saw that it was possible to uninstall the apps in ADB.

It's important for us to keep the app data intact.

As a work around I tried to do an ADB uninstall with the -k flag (adb shell pm uninstall -k air.com.XXX) to keep the app data then re-install.
It didn't work. Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

Participating Frequently
November 21, 2014

I want to add my name to the list. I have 5 apps that are affected and have many customers that bought Nexus tablets based on my suggestion.