I tried setting the arguments with these configuration files:
Adobe Flash Builder 4.5/FlashBuilderC.ini
Adobe Flash Builder 4.5/sdks/4.5.1/bin/adt.bat
Adobe Flash Builder 4.5/sdks/4.5.1/bin/jvm.config
but I get the same error. Any ideas?
I do have same problem, can't wait to see my first flash app on iPad...
Same problem Can you tell me how to pack it using command line (adt)?
I've managed to compile it with my script:
@set java_param=-Xms384m -Xmx448m -jar
@set adt_cmd="C:\Programy\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\lib\adt.jar"
@set files=gadget.swf assets
%java_cmd% %java_param% %adt_cmd% -package -target %target% -storetype pkcs12 -keystore %cert% -storepass %cert_pass% -provisioning-profile %provisioning% %build_file% %desc_files% %files%
I need to install 32-bit java for ADT ;o
However it took me 25 minutes and consumed 1 243 MB od RAM for "java.exe" and about 120MB for "i686-apple-darwin9-Id64.exe".
Temporary file AOTBuildOutput.asm was 83MB and output file 10Mb.
Is it normal for iOS?
I've got the same error and wasted the most of the day to find nice solution for Flash. Hope it will fit Flash Builder too.
We need to add -Xms64M -Xmx512M java params here, but the way Flash invokes java makes it nearly impossible.
Here is my java wrapper, that deals with this error. You need to install it to Java "Bin" folder. I'm just not sure, which JRE Flash Builder uses - the same as Flash or its own (it has one in its folder). If you need to alter the params, edit "starter.ini" file.