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

Android 5 lollipop update remove all AIR apps

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

celadora
Participant
November 19, 2014

Adobe;

To reproduce this issue

On a nexus 4, 5 or 7.

Running android 4.4.4

Install this application:

Just the Tip! - Free - Android Apps on Google Play

Run the application to confirm it works.

Update your nexus 4, 5 or 7 via OTA or Sideloading.

DO NOT FACTORY RESET

After update, observe that

1. the app is no longer appearing as installed

2. When you go the app store it lets you install it

3. it fails to install with error 505.

Please also refer to this long thread on the issue.

Issue 1668 - android-developer-preview - Unknown error code during application install: 505 - A public project for re…


Here is my android logcat info for the failed install for the steps above;

I/ActivityManager(  533): START u0 {cmp=com.android.vending/com.google.android.finsky.billing.lightpurchase.LightPurchaseFlowActivity (has extras)} from uid 10051 on display 0

D/audio_hw_primary(  184): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)

D/ACDB-LOADER(  184): ACDB -> send_afe_cal

D/audio_hw_primary(  184): enable_snd_device: snd_device(2: speaker)

D/audio_hw_primary(  184): enable_audio_route: apply and update mixer path: low-latency-playback

D/Finsky  ( 3356): [1] SelfUpdateScheduler.checkForSelfUpdate: Skipping DFE self-update. Local Version [80300038] >= Server Version [-1]

I/ActivityManager(  533): Displayed com.android.vending/com.google.android.finsky.billing.lightpurchase.LightPurchaseFlowActivity: +73ms

I/ActivityManager(  533): START u0 {cmp=com.android.vending/com.google.android.finsky.activities.AppsPermissionsActivity (has extras)} from uid 10051 on display 0

I/ActivityManager(  533): Displayed com.android.vending/com.google.android.finsky.activities.AppsPermissionsActivity: +146ms

I/qtaguid ( 3356): Failed write_ctrl(u 71) res=-1 errno=22

I/qtaguid ( 3356): Untagging socket 71 failed errno=-22

W/NetworkManagementSocketTagger( 3356): untagSocket(71) failed with errno -22

D/OpenGLRenderer( 3356): endAllStagingAnimators on 0x9789c600 (IconButtonGroup) with handle 0xaf4551c0

D/Finsky  ( 3356): [1] LightPurchaseFlowActivity.handleAppPermissionResult: Permissions accepted: air.net.celadora.JustTheTipFree

D/Finsky  ( 3356): [1] InstallerImpl.requestInstall: Request install of air.net.celadora.JustTheTipFree v=9018 for single_install

D/Finsky  ( 3356): [1] PackageInstallerImpl.innerCreateSession: Created session 1606842735 for air.net.celadora.JustTheTipFree

D/Finsky  ( 3356): [1] InstallerImpl.kick: Installer kick - starting air.net.celadora.JustTheTipFree

I/qtaguid ( 3356): Failed write_ctrl(u 22) res=-1 errno=22

I/qtaguid ( 3356): Untagging socket 22 failed errno=-22

W/NetworkManagementSocketTagger( 3356): untagSocket(22) failed with errno -22

I/qtaguid ( 3356): Failed write_ctrl(u 22) res=-1 errno=22

I/qtaguid ( 3356): Untagging socket 22 failed errno=-22

W/NetworkManagementSocketTagger( 3356): untagSocket(22) failed with errno -22

D/Finsky  ( 3356): [1] DownloadImpl.setState: air.net.celadora.JustTheTipFree from null to UNQUEUED.

D/Finsky  ( 3356): [1] DownloadQueueImpl.add: Download air.net.celadora.JustTheTipFree added to DownloadQueue

D/Finsky  ( 3356): [1] DownloadImpl.setState: air.net.celadora.JustTheTipFree from UNQUEUED to QUEUED.

I/installd(  185): free_cache(12408645) avail 4981481472

D/Finsky  ( 3356): [1] DownloadQueueImpl.startDownload: Download air.net.celadora.JustTheTipFree starting

D/Finsky  ( 3356): [353] 7.run: Enqueued air.net.celadora.JustTheTipFree as content://downloads/my_downloads/6076

D/Finsky  ( 3356): [1] DownloadImpl.setState: air.net.celadora.JustTheTipFree from QUEUED to DOWNLOADING.

D/Finsky  ( 3356): [1] DownloadQueueImpl.onStart: air.net.celadora.JustTheTipFree: onStart

D/Finsky  ( 3356): [1] DownloadQueueImpl.notifyProgress: air.net.celadora.JustTheTipFree: onProgress 0/-1 Status: 190.

D/Finsky  ( 3356): [1] DownloadQueueImpl.notifyProgress: air.net.celadora.JustTheTipFree: onProgress 0/-1 Status: 192.

D/DownloadManager( 4324): [6076] Starting

W/ActivityThread( 4324): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());

D/audio_hw_primary(  184): disable_audio_route: reset and update mixer path: low-latency-playback

D/audio_hw_primary(  184): disable_snd_device: snd_device(2: speaker)

I/        ( 4719): nine-notify : resendNotifications

I/NotifUtils( 4719): Validating Notification, mapSize: 1 getAttention: true

I/art     (  533): Explicit concurrent mark sweep GC freed 68357(3MB) AllocSpace objects, 7(307KB) LOS objects, 33% free, 27MB/41MB, paused 1.708ms total 97.198ms

I/NotifUtils( 4719): validateNotifications - cancelling account -1111410250 / folder 2514

D/DownloadManager( 4324): [6076] Finished with status SUCCESS

D/Finsky  ( 3356): [1] DownloadBroadcastReceiver.onReceive: Intent received at DownloadBroadcastReceiver

D/Finsky  ( 3356): [1] DownloadQueueImpl.notifyProgress: air.net.celadora.JustTheTipFree: onProgress 12408645/12408645 Status: 200.

D/Finsky  ( 3356): [1] DownloadImpl.setState: air.net.celadora.JustTheTipFree from DOWNLOADING to SUCCESS.

D/Finsky  ( 3356): [1] DownloadQueueImpl.onComplete: air.net.celadora.JustTheTipFree: onComplete

D/Finsky  ( 3356): [1] DownloadQueueImpl.remove: Download air.net.celadora.JustTheTipFree removed from DownloadQueue

I/installd(  185): free_cache(0) avail 4969066496

I/installd(  185): free_cache(12408645) avail 4969070592

D/Finsky  ( 3356): [1] 1.onPostExecute: Committing session 1606842735 for air.net.celadora.JustTheTipFree

D/Finsky  ( 3356): [1] 4.installBeginning: Begin install of air.net.celadora.JustTheTipFree

I/ActivityManager(  533): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=5434 uid=10013 gids={50013, 9997, 1028, 1015, 1023, 2001} abi=armeabi-v7a

D/Finsky  ( 3356): [1] PackageVerificationReceiver.onReceive: Verification requested, id = 0

D/Finsky  ( 3356): [1] WorkerTask.onPreExecute: Verification Requested for id = 0, data=file:///data/app/vmdl1606842735.tmp flags=18 fromVerificationActivity=false

D/Finsky  ( 3356): [356] PackageVerificationService.getPackageInfo: Cannot read archive for file:///data/app/vmdl1606842735.tmp in request id=0

D/PackageManager(  533): /data/app/vmdl1606842735.tmp already staged; skipping copy

D/Finsky  ( 3356): [1] PackageVerificationReceiver.onReceive: Verification requested, id = 0

D/PackageManager(  533): Renaming /data/app/vmdl1606842735.tmp to /data/app/air.net.celadora.JustTheTipFree-1

I/PackageManager(  533): Package air.net.celadora.JustTheTipFree codePath changed from /data/app/air.net.celadora.JustTheTipFree-2.apk to /data/app/air.net.celadora.JustTheTipFree-1; Retaining data and using new

W/PackageManager(  533): Package couldn't be installed in /data/app/air.net.celadora.JustTheTipFree-1

W/PackageManager(  533): com.android.server.pm.PackageManagerException: Package air.net.celadora.JustTheTipFree signatures do not match the previously installed version; ignoring!

W/PackageManager(  533): at com.android.server.pm.PackageManagerService.verifySignaturesLP(PackageManagerService.java:4426)

W/PackageManager(  533): at com.android.server.pm.PackageManagerService.scanPackageDirtyLI(PackageManagerService.java:5388)

W/PackageManager(  533): at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:5160)

W/PackageManager(  533): at com.android.server.pm.PackageManagerService.installNewPackageLI(PackageManagerService.java:9987)

W/PackageManager(  533): at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:10495)

W/PackageManager(  533): at com.android.server.pm.PackageManagerService.access$2300(PackageManagerService.java:231)

W/PackageManager(  533): at com.android.server.pm.PackageManagerService$6.run(PackageManagerService.java:8441)

W/PackageManager(  533): at android.os.Handler.handleCallback(Handler.java:739)

W/PackageManager(  533): at android.os.Handler.dispatchMessage(Handler.java:95)

W/PackageManager(  533): at android.os.Looper.loop(Looper.java:135)

W/PackageManager(  533): at android.os.HandlerThread.run(HandlerThread.java:61)

W/PackageManager(  533): at com.android.server.ServiceThread.run(ServiceThread.java:46)

I/ActivityManager(  533): Killing 4372:net.nurik.roman.dashclock/u0a40 (adj 15): empty #17

W/libprocessgroup(  533): failed to open /acct/uid_10040/pid_4372/cgroup.procs: No such file or directory

I/art     (  533): Explicit concurrent mark sweep GC freed 35145(2MB) AllocSpace objects, 12(180KB) LOS objects, 33% free, 27MB/41MB, paused 1.953ms total 112.426ms

D/Finsky  ( 3356): [1] PackageInstallerImpl.cancelSession: Canceling session 1606842735 for air.net.celadora.JustTheTipFree

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

W/Finsky  ( 3356): [1] 4.installFailed: Install failure of air.net.celadora.JustTheTipFree: -505 null

D/Finsky  ( 3356): [1] InstallerTask.cancelCleanup: Cancel running installation of air.net.celadora.JustTheTipFree

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.