Skip to main content
Douglas McCarroll
Inspiring
April 27, 2017
Answered

AIR 26 Beta - captive runtimes

  • April 27, 2017
  • 2 replies
  • 1128 views

The announcement for the beta says this:

> Disabling Packaging of Shared Android Applications

> ... published applications will always have a captive copy of the runtime included in

> their installation package irrespective of the target selected (that is, apk or apk-captive-runtime).

This addresses published packages, but what about during debugging. Specifically, when I debug an Android AIR app via USB is the runtime always packaged? Never packaged?

Thanks,

Douglas

This topic has been closed for replies.
Correct answer Anki_AG_

HI Douglas,

Yes while debugging Runtime is always packaged.

Thanks,

Ankit | Adobe AIR Engineering

2 replies

tufik12
Participating Frequently
May 3, 2017

I find this characteristic util if the Adobe team focus to reach the same performance than IOS.... In all apps, the performance in Android is very slow and IOS feel like native apps. Do you know if Adobe has plans to improve the way that compiles the APKS, creating some similar to IOS target?

Colin Holgate
Inspiring
May 3, 2017

I haven't experienced that. Is it possible that you're trying apps on an x86 Android, and not an ARM based one? Adobe did add the ability to publish for x86, and that would help performance on those devices.

tufik12
Participating Frequently
May 3, 2017

Hi Colin, Normally I develop for Android ARM, is the base of most Android devices. You know that when an AIR app is exported to iOS, it is compiled to native code. The Android version is compiled to the AVM bytecodes and after the code is interpreted. For sure the performance is not the same and the difference is big in some cases. Example: when you have a ScrollList with Rich elements in it. Will be good to have the same performance in both devices.

Colin Holgate
Inspiring
April 27, 2017

Pretty sure it's always package. They've removed the ability to use an existing shared runtime, which would make testing impossible if the device has never used AIR, unless the runtime is packaged.

Anki_AG_
Adobe Employee
Anki_AG_Correct answer
Adobe Employee
April 28, 2017

HI Douglas,

Yes while debugging Runtime is always packaged.

Thanks,

Ankit | Adobe AIR Engineering

Douglas McCarroll
Inspiring
April 28, 2017

Colin wrote:

> Pretty sure it's always package.

Thanks Colin!

And Ankit wrote:

> Yes while debugging Runtime is always packaged.

Thanks for this definite answer.

One more question: For how long has this been the case? Since which version of AIR? Or, if that question would require a bit of digging to answer, all I really need to know is was this the case in AIR 24 and AIR 25? I assume that it was, but could you confirm?

(Just in case you're curious, the reason that I'm asking these questions is that I'm running into a problem with a line in my app XML file. When I try to debug via USB the line causes the build process to break, but when I build a release version it doesn't cause any problem. I had somehow gotten the impression that the debug build didn't use a captive runtime and was suspecting that the build problem was related to this. But it looks as though my assumptions were wrong and I need to rethink the problem...)

Douglas