actionscript 3 - Captive Runtime is always included on Flex 4.6 + Air SDK 3.8 -
adobe announces new release air sdk 3.8. have used our mobile application able use serversocket
api used our created library. upon exporting release build, apk
size becomes 13.3mb
quite bigger compared 3.2mb
(using default flex sdk 4.6
air 3.1
).
when overlay air sdk 3.8 on flash builder 4.6, following:
- exit flash builder 4.6
- download air sdk 3.8 http://airdownload.adobe.com/air/mac/download/3.8/adobeairsdk.tbz2
- backup flash builder 4.6 copying entire directory.
- extract air sdk using the unarchiver.
- go /applications/adobe\ flash\ builder\ 4.6/sdks/ , copy 4.6.0 folder rename 4.6.0 + 3.8
- run command:
sudo ditto adobeairsdk/ /applications/adobe\ flash\ builder\ 4.6/sdks/4.6.0\ + \3.8/
- update application descriptor to:
<application xmlns="http://ns.adobe.com/air/application/3.8">
have misconfigured something? reverting 3.1
exports 3.2mb
.
if using air sdk 3.1
, run app on android device air 3.8
runtime, serversocket
still work?
when export release build ios
, there's no difference on ipa
size. when using 3.1
, ipa size 11.9mb
; using 3.8
still yields 11.9mb
. happens android
releases on air sdk 3.8
?
it's kinda strage apk
size greater ipa
size. when exporting ios
release, 8mb - 10mb
added app size since application exported has captive runtime (ios not support shared air runtime). happens android
releases on air 3.8
?
on exporting release build android, captive runtime included no matter choose on export options (export application captive runtime or export application uses shared air runtime). well, thing captive runtime don't have require user install adobe air.
adobe changed packaging android in air 3.7. android packages standard captive-runtime , packager warn this:
note: air sdk no longer supports packaging android applications use shared runtime.
application has been packaged captive runtime`
from documentation (http://help.adobe.com/en_us/air/build/ws901d38e593cd1bac-4f1413de12cd45ccc23-8000.html):
note: (air 3.7 , higher) default, adt packages captive copy of air runtime android app. force adt create apk uses external runtime, set air_android_shared_runtime environment variable true.
i have not tried set variable myself don't know if enables package normally.
Comments
Post a Comment