Copy link to clipboard
Copied
I haven't done anything with Air in a while. Compiled an old project to an OSX app that used to be 10MB, now it weights more than 60MB.
What's up with that?
Copy link to clipboard
Copied
Are you packaging unnecessary assets or something?
I've got an AIR app for OSX with about 30,000 lines of code with graphical assets galore and I'm sitting at a nice 4MBs.
Copy link to clipboard
Copied
No, there are no assets. Just 1 .as file and a 128 x 128 icon. It's a very simple project which is why I'm quite surprised.
Just in case it wasn't clear on my OP, I'm compiling to an .app file with the runtime embedded, not an Air package.
I've checked inside the app file with show package contents and all those MBs come from the runtime. Surprisingly before it was only 10 MB...
Copy link to clipboard
Copied
Hmm well it seems you lead me to learn a few things today.
For OSX I had been compiling a ".dmg" not "app"... something I misinterpreted as compiling with the runtime... Apparently both the "dmg" and "air" file, will both go download AIR before it runs... which was allowing my small file size.
Either way it's odd that it would be 50MBs... as AIR for iOS and Android with captive runtime adds about 10-15 MBs.... Based on your screenshot it seems it's including both AIR and the Flash player.
Maybe the "dmg" is an option for you?
Copy link to clipboard
Copied
phonefusionryan wrote:
Maybe the "dmg" is an option for you?
Sadly it's not. I do a lot of work for museums and we rarely have internet there.
Copy link to clipboard
Copied
It would be great if someone at Adobe could chime in.
60MB is a lot.
Copy link to clipboard
Copied
I'll see if I can get around to compiling the "app" and let you know my file size. I can only do it on a mac and I normally work on PC so I'll need to transfer it over maybe at the end of my work day.
Copy link to clipboard
Copied
Thanks
Does compiling an exe weight less?
Copy link to clipboard
Copied
Good thought... unfortunately have bad news. Though this is a large project, while not 60MBs, the exe with captive runtime was 48.6MBs... with 44.3MBs coming from just the "Adobe AIR" folder.
Copy link to clipboard
Copied
Thanks...
What puzzles me is that not so long ago (less than a year) air apps compiled with the runtime used to weight a lot less.