Java VM error during iOS publish, Flash Pro CS5.5

When I try to build a "Hello World" iOS app for the iPhone using Flash Pro CS5.5 I get the following error:
Error creating files.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Has any one else encountered an error like this and successfully fixed it?  I've been trying to solve this for a long time, have reinstalled Flash CS5.5 and Java, but so far I'm still getting the same error.  I've also tested building the app on another person's machine and there everything works fine.  My OS is Windows 7.

I found a way to get things to compile by using adt from the command line, based on this post: http://forums.adobe.com/thread/867644?start=0&tstart=0
I didn't have to use any larger memory settings.  Just like the example in the link, I'm using a .bat file to make the command easier to setup:
@echo=off
@set java_cmd="C:\Program Files\Java\jre6\bin\java.exe"
@set java_param=-Xmx128m -jar
@set adt_cmd="C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\AIR2.6\lib\adt.jar"
@set target=ipa-test
@set cert=iOS_dev.p12
@set cert_pass=password
@set provisioning=my_iOS_device.mobileprovision
@set build_file=helloworld.ipa
@set desc_files=helloworld-app.xml
@set files=helloworld.swf AppIconsFolder
%java_cmd% %java_param% %adt_cmd% -package -target %target% -storetype pkcs12 -keystore %cert% -storepass %cert_pass%  -provisioning-profile %provisioning% %build_file% %desc_files% %files%
pause
It takes awhile to compile (10 min) and uses a lot of memory (on average 300mb), but nonetheless is functional.
For others who might have this error, note that it was suggested to modify the settings in <InstallLocation>/Common/First Run/ActionScript 3.0/jvm.ini
Changing those settings didn't help me.  My specific problem didn't involve a large .fla file since I was getting this error even for a simple 'helloworld' test app.  Thanks though for everyone who made suggestions!

Similar Messages

  • Need Help testing iOS app created in Flash Pro Cs5.5

    I've followed several instructions on how to develop a simple iOS app. I've managed to go all the way through and Publish + create the .ipa. I'm able to then add the file to my iTunes library, but when I then try to add it to my iPod Touch (2nd Generation) I get the following error:
    The app "XXXXXX" was not installed on the iPod "XXXXX's Ipod" because it is not compatible with this iPod.
    I've even tried it with a simple "Hello World!" app but I get the same error.
    I'm using Flash Pro Cs5.5 on a Windows PC.
    Any suggestions?

    I'm having the exact same problem with my iphone 3G. I tried publishing the exact same simple flash app to my iphone, which I already previously tested succesfully, after having downloaded flash 5.5, and now I get the following message (which, I believe, is identical to yours kinant87) :
    "The app "Main" was not installed on the iPhone "Norgaard" because it is not compatible with this iPhone."
    I was trying to make another small app, when I got this problem, which is why I went back to re-test the app I knew was working!
    I've reinstalled all my apple certificates, and also tried using flash builder 4.5, with the same result.
    I also have not jail broken my phone, and was starting to think perhaps the iPhone 3G was no longer supported?

  • Need help with languages issue in iOS app created in Flash Pro CS5.5

    Hello all,
    I'm using Flash Pro CS5.5 on a Mac running Snow Leopard to create an iOS app by publishing with 'AIR for iOS' from inside Flash Pro. Everything works great except after I submit my app to the Apple App Store and it is approved, the App Store listing claims that the app is available in a ton of different languages including English, German, Chinese, Italian, Spanish, etc. Since this app is a word game and all the words are in English, this is a pretty significant issue.
    If I view the binary details for the app in iTunes Connect, it shows that localizations are active for all of the different languages. This information is read from the .ipa file that is submitted.
    If I unzip the .ipa file, I can see that folders have been created for all of the localizations (i.e. en.lproj, es.lproj, fr.lproj, etc.). If I delete any of those folders, the .ipa will give me a 'resources modified' error at install.
    I have also tried setting the plist attribute 'CFBundleLocalizations' to 'English' by editing the 'app.xml'. I have verified that the attribute has been changed correctly but it does not solve the issue. All of the localizations are still active.
    Any help would be greatly appreciated.

    Can you try workaround given at http://forums.adobe.com/message/3976641 and post back your findings.

  • Flash Pro CS5.5+AS3 + iOS (iPhone) build specifically

    To start with, I really need some simple, definative examples of building a Facebook app for the iPhone using Flash Pro CS5.5+AS3 + iOS (iPhone).
    There are endless examples for nearly every platform on the planet - except this one, and in nearly every language except Flash Pro CS5.5+AS3 + iOS (iPhone).
    This is just one I have found that has some very good descriptions - albeit using coding other than what I want - but there is a link at the bottom to a downloadable AS sample.
    http://blog.yoz.sk/2010/05/facebook-graph-api-and-oauth-2-and-flash/
    So in simple terms.
    I'm using
    Flash Pro CS5.5+AS3 + iOS (iPhone)
    I have the
    GRAPH 1_8_1.swc files ... and as near as I can figure, I use the mobile.swc version?
    My problem is that I don't see a lot of development on the Adobe discussion forums specifically targeted at the iOS iPhone/iPod touch model
    Does anyone know of good tutorials, samples, (please no videos - impossible to follow usually, and often very poorly done...)
    I want to be able to Authorize a user for Facebook, and store the login in a "private var sharedObj:SharedObject;" setup, and the authorization is done in a StageWebView setup,
    and after all is authorized, the webview closes, and the user then only has to tap a button, and a pre-formatted string is posted to their newsfeed, any time they press the Post to Facebook button, the updated string will be posted.
    Simple really. I don't want lists of friends, photos images or even to be able to read the newsfeed - just post to it.
    but ... I can't find a darn thing.
    thanks

    the project panel is just a convenience panel for you to use to access your flash project's files without using a file browser.  it has nothing to do with your publish settings.
    if you don't see a great need to forego using your file browser, join the crowd.  the project panel was an idea with no great benefit.
    someone probably made a big to-do about it and got enough people to vote for the feature so adobe added the feature.  and then found nobody cared so, it's not going to be in the next flash pro version.

  • Problem error with Adobe flash pro CS5 / Problème d'erreur avec Adobe flash pro CS5

    Hello !
    I use Adobe flash pro CS5 to edit a flash template for my website.(the free test version 30 days)
    Today, I want open Adobe flash pro CS5 when a error message appears : "adobe has stopped working".
    So, I can't open Adobe flash pro CS5, I've try 10 times, and I've again the same message.... I can't continue my website !
    Please, help me
    Thank, Jérôme. (sorry for the faults, I'm french...)
    Bonjour !
    J'utilise Adobe flash pro CS5 pour éditer un site web flash. (version gratuite 30 jours)
    Aujourd'hui, j'ouvre Adobe flash pro CS5 quand un message d'érreur apparait : "Adobe à céssé de fonctionner".
    Donc, je ne peux plus ouvrir Adobe flash pro CS5, j'ai déjà essayé 10 fois, et j'ai toujours le même message... Je ne peux plus continuer mon site !
    SVP, aidez moi
    Merci beaucoup, jérôme.

    No reply... Up
    Thank you !

  • Developing iOS application using Adobe Flash Pro CS5

    Hi,
    I have Adobe Flash Pro CS5.
    Is it possible to develop iPhone (iOS) application using this product (I have an iPhone iOS option in the New Document dialog)?
    If it is possible, how do I start a new iPhone project? How do I continue from there?
    Thanks,
    Janiv.

    This question needs to be posted in the Flash forum. This forum is only for the player.

  • Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.

    Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.  Has there been a fix or patch to this issue or do I have to convert back to CS4 to open the file?

    Having the same problem in CS6.  I can tell you that converting back to CS4 will NOT solve the problem.  It seems when support for backward compatibility is discontinued, there's just no way to get
    any help at all?  Absolute failure to provide any user support so far...

  • Adobe Flash Pro CS5 Install fails

    Hi. I tried to install the trial of Flash Pro CS5 to my mac, but it failed. Installer gives me these errors:
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 51 error(s), 42 warning(s)
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    WARNING: Payload cannot be installed due to dependent operation failure
    ERROR: Invalid library file ARKEngine.dylib. Cannot get ARKEngineDoPayloadOperation API
    ERROR: Invalid library file ARKEngine.dylib. Cannot get ARKEngineDoPayloadOperation API
    ERROR: Invalid library file ARKEngine.dylib. Cannot get ARKEngineDoPayloadOperation API
    ERROR: Invalid library file ARKEngine.dylib. Cannot get ARKEngineDoPayloadOperation API
    ERROR: The following payload errors were found during install:
    ERROR:  - Adobe WinSoft Linguistics Plugin CS5: Install failed
    ERROR:  - Adobe CSXS Infrastructure CS5: Install failed
    ERROR:  - SiteCatalyst NetAverages: Install failed
    ERROR:  - Adobe Bridge CS5: Install failed
    ERROR:  - Adobe Flash CS5_AdobeFlash11-en_USLanguagePack: Install failed
    ERROR:  - Adobe Flash CS5_AdobeMobileExtension_Flash11-en_US: Install failed
    ERROR:  - AdobeHelp: Install failed
    ERROR:  - Adobe AIR: Install failed
    ERROR:  - AIR2 For Adobe Flash Pro: Failed due to Language Pack installation failure
    ERROR:  - Photoshop Camera Raw: Install failed
    ERROR:  - Suite Shared Configuration CS5: Install failed
    ERROR:  - AdobeColorCommonSetCMYK: Install failed
    ERROR:  - Camera Profiles Installer: Install failed
    ERROR:  - DeviceCentral_DeviceCentral3LP-en_GB: Install failed
    ERROR:  - Adobe Media Player: Install failed
    ERROR:  - Adobe Player for Embedding: Install failed
    ERROR:  - Adobe Media Encoder CS5: Install failed
    ERROR:  - Adobe SwitchBoard 2.0: Install failed
    ERROR:  - AdobeColorJA CS5: Install failed
    ERROR:  - Adobe Flash CS5_AdobeMobileExtension_Flash11-mul: Install failed
    ERROR:  - Adobe ExtendScript Toolkit CS5: Install failed
    ERROR:  - Players For Adobe Flash Pro: Install failed
    ERROR:  - Adobe BrowserLab CS Live: Install failed
    ERROR:  - iPhone Publishing: Install failed
    ERROR:  - CSXS Story Extension: Install failed
    ERROR:  - Adobe XMP Panels CS5: Install failed
    ERROR:  - DeviceCentral: Failed due to Language Pack installation failure
    ERROR:  - AdobeTypeSupport CS5: Install failed
    ERROR:  - AdobeColorCommonSetRGB: Install failed
    ERROR:  - Adobe Utilities CS5: Install failed
    ERROR:  - Adobe CSXS Extensions CS5: Install failed
    ERROR:  - AdobeOutputModule: Install failed
    ERROR:  - AIR2 For Adobe Flash Pro_AIR2_Flash11-en_US: Install failed
    ERROR:  - PDF Settings CS5: Install failed
    ERROR:  - Adobe Linguistics CS5: Install failed
    ERROR:  - DynamiclinkSupport: Install failed
    ERROR:  - AdobeColorEU CS5: Install failed
    ERROR:  - AdobePDFL CS5: Install failed
    ERROR:  - AdobeCMaps CS5: Install failed
    ERROR:  - AdobeColorNA CS5: Install failed
    ERROR:  - Flash Player: Install failed
    ERROR:  - Adobe Flash CS5: Failed due to Language Pack installation failure
    ERROR:  - Adobe Extension Manager CS5: Install failed
    ERROR:  - TLF For Adobe Flash Pro: Install failed
    ERROR:  - Pixel Bender Toolkit: Install failed
    ERROR:  - Adobe ReviewPanel CS5: Install failed
    Does someone know what to do?

    1. Draw your button (a rectangle, circle, your graphic)
    2. Select it and choose Modify> Convert to symbol
    3. Choose type "Button"
    4. Give it an instance name on the "Properties" window, like my_btn
    5. Create a new layer and place your cursor on the first frame for the layer you just created
    6. Press F9 in Windows or open the Actions window Windows > Actions
    7. Write code to indicate the function for the button:
    function playVideo(event:MouseEvent):void
         myVideo.play();
    my_btn.addEventListener(MouseEvent.CLICK, playVideo);
    function stopVideo(event:MouseEvent):void
              myVideo.pause();
    myStop_btn.addEventListener(MouseEvent.CLICK, playVideo);

  • Flash Pro CS5.5 "Debugger Failed to Launch"

    I'm running Flash Pro CS5.5 on Win 7 Pro x64 with 8GB RAM.  My .fla is HUGE (it's a game I'm working on) ~750mb.  My exported .swfs are ~35mb.
    I can open my project and test the movie one or two times (usually once) before I am unable to test the movie.  I'll see the "Exporting SWF Movie" splash screen and when that closes, nothing happens.
    If I try to debug CTR+SHFT+ENTER the movie, I see the "exporting SWF Movie" screen and then get an error statin that the debugger failed to launch.
    I have a feelin that this is due to the Publish Cache.  My machine is hovering around 4GB or RAM usage while rendering the movies.  Flash Pro CS5.5 is 32Bit so maybe the debugger is crashing trying to access memory outside of it's allocation?
    I have uninstalled CS5.5, run the Adobe cleaner and reinstalled and have the exact same problem.
    Any ideas?

    If you use timelines (ouch) you can get seamless video or audio loops. Although I imagine you may be doing some transforms on the sound and I myself would rather keep everything in code. But I have still to this day had very little luck with seamless looping via code-only. But the compression Flash does is no different at all than you batch compressing down all those audio files using Adobe Media Encoder.
    It's not hard and will save you tons of memory. Just duplicate your full quality audio folder so you have them save. Make a MP3 preset in Adobe Media Encoder with your desired mp3 settings. Drag the folder you want to have better compressed versions and apply the preset to them. Bonus points if the folder is in the same location you initially imported from because you can just select all audio and hit update in flash and you're done. File size should drop drastically. Then while you have the audio still selected you can hit properties and tell them all NOT to compress on export so it'll use the compression you already did (in a cleaner way). Then your export time will drop significantly and your filesize will too. Your memory issue should be gone and flash should be stable.
    Let me know if you want me to test exporting. I doubt I'll have an issue but unfortunately all that can tell you is either your Flash is acting up (8GB should be WAY more than enough), or you really somehow are running low on ram.

  • Can't launch or reinstall Flash Pro CS5 after Flash Pro CC installation

    I'm on a newly installed hard drive with a fresh install of Mac OS X 10.7.5. I installed Flash Pro CS5 and it opened fine. Then I installed Flash Pro CC and now I cannot open the CS5 version. It says there is a configuration error and I need to uninstall and reinstall the application. So I tried reinstalling and I get a message that I must either cancel the installation or eject the disk image. I have tried all the workarounds suggested for bypassing Mac OS Gatekeeper and still no luck. An Adobe rep from another forum suggested I post this issue here to see if anyone has any suggestions. Here is what I have tried so far:
    Control-click on the installer and choose open to run it.
    Disabled Gatekeeper in Security and Privacy settings of System Preferences.
    Disabled Gatekeeper manually in Terminal.
    Tried to uninstall the original installation of Flash CS5, but it says the uninstaller file can't be found.
    Ran the Adobe Cleaner tool to remove CS5 applications.
    Ran the spctl -a command on the installer and it said CSSMERR_TP_CERT_REVOKED. Assuming this means the certificate has been revoked?
    Any help is appreciated. Thanks!

    Bernst did you also run the uninstaller located in the Applications/Utilities/Adobe Installers folder?  This is meant to be ran prior to utilizing the CC Cleaner Tool.  You can find more details at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.
    Also what specific configuration error are you receiving?

  • Flash pro cs5.5 project panel librarypath different from fla librarypath

    Hi,
    I have a flash pro cs5.5 project which i can browse in the project panel. (Window -> Project to open panel)
    I went to the settings dropdown in the panel -> project properties -> paths tab -> library tab
    I added a path to a swc here.
    However if i open the startup fla of the project
    and go to File -> Actionscript settings -> library path
    the previously added path is not there!
    Why are these two paths different?
    The startup fla needs to use some classes in the added swc.
    I only added the swc to the library path from the project panel.
    I was hoping the fla will compile and publish swf successfully!
    This does not happen . So what good is this project panel -> library path settings for?
    I need to use the project panel library path because i am opening this flash pro project in flash builder and any changes to build path done in flash builder only reflect in the library path in the project panel back in flash pro cs5.5
    Any ideas ?
    Thanks
    Soham

    the project panel is just a convenience panel for you to use to access your flash project's files without using a file browser.  it has nothing to do with your publish settings.
    if you don't see a great need to forego using your file browser, join the crowd.  the project panel was an idea with no great benefit.
    someone probably made a big to-do about it and got enough people to vote for the feature so adobe added the feature.  and then found nobody cared so, it's not going to be in the next flash pro version.

  • Flash Pro CS5  Convert to Flex Component and SWC export

    Hi,
    my question is about the Flash Pro CS5 and Flash Builder 4 (Flex 4) integration.
    My goal is simple - to make a simple graphic in a MovieClip and then export that for use in Flash Builder 4. I found out I have 2 ways of doing that:
    1) -> create the MovieClip with the graphic
        -> export it for ActionScript with a name of the class
        -> select the symbol in the library again and export SWC file. Total size of this SWC in my example is 24kb.
        -> put the SWC in the libs folder and use the class/component which should be put inside SpriteVisualContainer or UIMovieClip
    2) -> create the MovieClip with the graphic
        -> export it for ActionScript with a name of the class
        -> select it in the libraly and then select Commands -> Convert Symbol to Flex Component
    Now here we can do 2 things:
        -> select the symbol in the library and export SWC file. Total size here is 104kb.
        -> publish the whole project and use its SWC file.
    And last:
        -> put the SWC in the libs folder and use the class/component wherever you want because it's already extending UIMovieClip.
    So My point is that with the first way I need to use just one simple container to put my component into and I save like 80 kb. Why would I want to use the second way, just to be more comfortable or there are other reasons too?
    I was thinking that maybe I could put more flex converted components in the fla file so I would then export the swc with all of them being already flex components and that 80kb will be shared for all of them, which makes sense of using this feature, but if someone could confirm my thinking is right or there was some other better purpose or way of doing things in an optimised way, I will be glad to hear them. Thanks!

    Hi,
    I am using the first option while converting from flash to flex. Its easy and it saves lots of memory.

  • Can't Open Flash Pro CS5

    I just installed the 30-day trial version of Adobe Flash Pro CS5 on my HP laptop (I'm using Windows XP Professional) and every time I try to open it it says that "Adobe Flash CS5 has encountered a problem and needs to close."
    I need this for my job and I'm unsure as to why this is happening. Has anyone else encountered this problem? And if so, how did you go about fixing it?

    I am facing the same problem. My OS is Win7 and Hardware is Dell Inspiron laptop.
    I have installed CS5 Premium 30-day trial. All app work fine except Flash CS5. Can someone help?

  • Save flash pro CS5 file created in windows to a mac os file

    I created a flash banner with flash pro CS5 using windows 7. Can I save the file so my client can open it with a Mac OS?

    Yes, the .fla file can be opened on either platform. Don't forget to include any external files that you may have used, and fonts that you have embedded into the fla.

  • How to use Air 3.2 in Flash pro CS5

    Hi all,
    Is is possible to target Air 3.2 in the authoring tool Flash Pro CS5 ?
    If yes, how can it be done ?
    Thanks
    Raphaël

    Joe_suchta, you can follow these steps http://www.youtube.com/watch?v=pwVkK27Nors
    Lucky

Maybe you are looking for

  • Fresh install: can't login with user to tty anymore, root works ok.

    Hi! I'm new to Arch. I decided to try it so I installed the i686 core image in Virtualbox 4.0.12 under Ubuntu 11.04, with no issues, following both the official install guide and the beginners' guide. After performing the complete upgrade step, I cre

  • AutoCAD in LabVIEW

    Hello all, I have an electron storage ring which I need to bakeout to 250 degrees Celsius. I have written a user interface to control all of my heaters and thermocouples. Now I need to make a schematic of the ring for a user to be able to easily clic

  • File handling in nokia lumia

    will lumia phone reades all the music and videos ,images from memory card no matter in which folder they are placed as it happens in the case of symbian phones as I am planning to get a lumia handset Solved! Go to Solution.

  • [svn:fx-trunk] 11535: Don't early bind lexical references in a with block.

    Revision: 11535 Author:   [email protected] Date:     2009-11-06 13:50:52 -0800 (Fri, 06 Nov 2009) Log Message: Don't early bind lexical references in a with block. It causes outer locals to shadow properties on the with object. (bug ASC-2257; r=pete

  • Vista/iTunes reports iPod corrupt (and Restore does not correct it)

    I have a 16GB nano, a Dell laptop running Windows Vista Business Edition, and a home-built PC running Windows XP SP3. On the XP desktop machine, both Windows and iTunes work perfectly fine with the iPod. All is great. On the Vista laptop, it's a no-g