Skip to main content
Douglas McCarroll
Inspiring
avr. 27, 2017 2:37 PM UTC
Répondu

AIR 26 Beta - captive runtimes

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

Ce sujet a été fermé aux réponses.
Anki_AG_
Anki_AG_Réponse
Adobe Employee
avr. 28, 2017 6:13 AM UTC

HI Douglas,

Yes while debugging Runtime is always packaged.

Thanks,

Ankit | Adobe AIR Engineering

7 commentaires

tufik12
Participating Frequently
mai 3, 2017 5:18 PM UTC

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?

Traduire
Colin Holgate
Inspiring
mai 3, 2017 5:35 PM UTC

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.

Traduire
tufik12
Participating Frequently
mai 3, 2017 5:45 PM UTC

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.

Traduire
Colin Holgate
Inspiring
avr. 27, 2017 5:35 PM UTC

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.

Traduire
Anki_AG_
Adobe Employee
Anki_AG_Réponse
Adobe Employee
avr. 28, 2017 6:13 AM UTC

HI Douglas,

Yes while debugging Runtime is always packaged.

Thanks,

Ankit | Adobe AIR Engineering

Traduire
Douglas McCarroll
Inspiring
avr. 28, 2017 7:13 AM UTC

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

Traduire