New ADT vs PFI

Hi,
I just recompiled my swf with the new air 2.6 adt, and I am very surprised.
First of all, all buttons now take about 5 seconds to respond, vs almost immediate in the pfi.
Next, all the bitmaps i cached are screwed up, virtually nothing is showing.  And the rendering speed of these bitmaps is also at least 10x slower than before.
My project is coded in Flash CS5, stage size is set to iphone (480*320) and I have been testing on an Ipad (i used to set the publish setting to iphone and ipad).  I'm pretty sure I'm doing something wrong since the new packager is suppose to be faster.
I found this line in its list of improvements:
Improved hardware acceleration on iOS. Hardware acceleration on iOS now works like it does on Android, and generally provides much better performance than with PFI. And speaking of PFI…
Does this mean that I should avoid using cacheAsBitmapMatrix?  Even if that's the case, why are my buttons slower?  I never cached them.
Also, some vectors render incorrectly (sometimes not showing alpha).  I have never seen this problem in the old PFI, the app always looked the same whether it's on the ipad or computer.
Can someone please explain to me what's going on?
PS. Are game center/iAd supported in this version?

hey there guys, there is a good discussion over at the Mobile AIR forum that shares some discoveries about performance with 2.6. i struggled for days then realized any caching (cacheAsBitmap and cacheAsBitmapMatrix) will seriously hinder performance, at least in my app it did. i set my app screen quality to low (i'm using PNGs for a majority of the app anyway) unless i need high quality vector rendering. i am getting 60FPS and am continuing to tune things.
http://forums.adobe.com/community/air/development/android
hope this helps

Similar Messages

  • Flash builder 4.7 air 3.6 new adt compiler

    Hi. Ive been having serious issues when i tried to "Export release build" using air 3.4 and/or air 3.5 on Flash builder 4.7. Goit a lot of nonsense java.lan.nullpinter exceptions and similar errrors.
    When i tried to debug or run, even on device generating the ipa, everything ok. But when i tried to export the project, and it tried to re-compile it, always got absurd java errors.
    Ive tried everything: downgrade the java virtual machine, reinstalling flash builder, air, even windows!!! Nothing worked. Even recovering previous stages of the project where I originally could export it (its even published on the appstore!). No use. The app that was working no problem, now when trying to export returns a lot of javanull pointers or similar crap.
    BUT, when trying to generate the ipa through via command lines  on the ms dos console it works!! So... its obvious the problem was on the adl+java duo.
    Thing is, I updated to the just released AIR 3.6 (not the beta, the release version). It uses .exes(on windows, which is the system im using)  instead of java, so it showed promise.
    I overlayed the air version on the flash builder following this instructions:
    http://forums.adobe.com/message/4797974
    Well, not exaclty, because then flash builder throws a lot of errors and dosent show me the package explorer for instance.
    I made a copy of the AIR folder, but not deleted the content, just copied the new air version files over and substitute the replicas, but kept the originals where no new file substituted them (dont know if im explaining it ok, sorry for my english).
    It worked... except for the damn "Export release build" option. It keeps trying to debug it using java instead of using the new adt. And I cant find how to change that.
    The adt on the other hand is being used ok, as i can check it when I try to run or debug the project targetting a device. Before I could check the command used and now Im not, so Im pretty sure its using the new .exe instead of the java version. But now I dont know how to generate the ipa targetting the app store, for instance via command line using the new adt nor can i do it exporting the project from the flash builder IDE.
    SO...
    is there anyone having similar problems?
    How can I correctly overlay air 3.6 over Flash Builder 4.7 and force it to use the new air adt and adl?
    Anyone tried?
    Thanks in advance folks!!!

    Thanks everyone for your collaboration.
    Hey Nabren, What do you mean by "as well"?
    Just to make it clear. I already followed the instructions here:
    http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder. html
    to overlay the air sdk. And the folder you are pointing me is the ONLY ONE the instructions tell me to replace. BUT when you say "as well" I understand something else have to be done.
    Ill explain the whole process Ive followed and the consequences:
    As I said I replaced the content on the AIRSDK placed in the fodler C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722 (or similar), for the content of the new SDK.
    The result is that flash builder throws me a lot of errors and is unable  to show even the package explorer, for instance or create a mobile project, so I went back to the original AIR folder. No problem there.
    When I was using flash builder 4.6 I overlayed the sdks in this way: made a copy of the last flex SDK (which already had the air sdk inside), and copied the content of the  latest AIR SDK over the current sdk, replacing only new files, keeping those not includded on the air sdk. That way I could keep several flex+air sdks, and could select wich sdk to use for each library/project. Now this doesnt work anymor on flahs builder 4.7.
    So I tried this:
    I made a copy of the AIR sdk under C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722 and copied over the new sdk ont he folder overwritting new files,keeping those not included on the new sdk... and this works! Everythings fine. I can debug complex projects on air simulator even launch it on an iphone or ipad...
    BUT it keeps throwing me JAVA errors (null pointer exceptions and things like that) when exporting that makes no sense at all (different errrors without making any change, now no error now another one...).
    More info on the projects provoking this behaviour:
    They are mobile projects (ios mainly). They use several libraries. Some of them come from compiled swcs from flash cs6 (wich contains classes we are using as views). All libraries have been double checked. They are fine. The problems emerge when trying to export targetting the apple store. Weve double checked the provisioning and the certificate. They are correct. In fact, when we try to generate the ipa using adt via command lines on ms-dos it works!
    Weve tried to remake and the rebuild the project class by class, even recreate the flas we are using to generate the swcs to be used as libraries on the project... it only works when the project is almost empty. As soon as some content is added.. bumm! Java errrors all over when trying to export.
    Our main machine is an i7 2.93 Ghz, 8 GB ram, 64 bits. Windows 7 Ultimate 64 bits, using Flash builder 4.7 64 bits and flash cs6 64 bits. But we have checked on other mahines and sme thing happens.
    Doesnt anyone else have these problems? Is there any other way to overlay the air sdk?
    Thanks again.

  • ADT iOS PFI Issue with a Flex 4.1 project.

    I know, I shouldn't be compiling flex for the iPad yet, but I gotta!
    I'm getting an error when running PFI, any help would be AWESOME!
    Exception in thread "main" java.lang.Error: Unable to find named traits: mx.collections.errors::SortError
    at adobe.abc.Domain.resolveTypeName(Domain.java:195)
    at adobe.abc.Domain.resolveTypeName(Domain.java:112)
    at adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:274)
    at adobe.abc.GlobalOptimizer$InputAbc.readCode(GlobalOptimizer.java:983)
    at adobe.abc.GlobalOptimizer$InputAbc.readBody(GlobalOptimizer.java:531)
    at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:404)
    at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:280)
    at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:160)
    at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcode(AOTCompiler.java:329)
    at com.adobe.air.ipa.AOTCompiler.GenerateMacBinary(AOTCompiler.java:600)
    at com.adobe.air.ipa.IPAOutputStream.compileRootSwf(IPAOutputStream.java:196)
    at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:366)
    at com.adobe.air.ADTPackager.createPackage(ADTPackager.java:65)
    at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:165)
    at com.adobe.air.ADTEntrypoint.parseArgsAndGo(ADTEntrypoint.java:132)
    at com.adobe.air.ipa.PFI.parseArgsAndGo(PFI.java:152)
    at com.adobe.air.ADTEntrypoint.run(ADTEntrypoint.java:68)
    at com.adobe.air.ipa.PFI.main(PFI.java:112)

    Compiling the AIR application through amxmlc worked
    Tanu

  • MAC: Starting ABAP Transaction from eclipse ADT - Wrong GUI version

    Hi there,
    I am running eclipse (Kepler Service Release 2) with ADT for SAP HANA (Version 2.28.1) and SAP GUI 7.30 Revision 9.1 on my MAC. Whenever I try to run an ABAP transaction from within the IDE, I do get this error:
    The GUI itself runs fine. It seems as if the GUI and ADT version do not match. What should I do?
    Cheers

    Hi Pascal,
    you have already the newest version 7.30 patch level 9. Florian was wrong with 7.30 Compilation 3 Present. 2.
    I have the same problem. I have tried older versions 7 and 8 too. With a reinstallation it has worked only for 2 or 3 times. It seems to be a new bug with new ADT 2.28 because 2.24 was working fine. Maybe it is related to the java version.
    Actually I have no time to take care of this and create an OSS message.
    Regards
    Andreas

  • Direct Telephone Number to Call to Return ActionTec DSL Wireless Router Modem

    The Verizon repairman repaired  problem with our new ADT alarm interfering with our DSL internet connection.  However, connection is very slow (like dial-up).  He said we need to replace our Actiontec DSL Wireless Router Modem because it is "dropping packets".  What is the direct phone number at Verizon to call to get info on how to return the modem and get a new one?  We own the modem (bought it 2 years ago from Verizon).

    gfevrier wrote:
    The Verizon repairman repaired  problem with our new ADT alarm interfering with our DSL internet connection.  However, connection is very slow (like dial-up).  He said we need to replace our Actiontec DSL Wireless Router Modem because it is "dropping packets".  What is the direct phone number at Verizon to call to get info on how to return the modem and get a new one?  We own the modem (bought it 2 years ago from Verizon).
    I recommend calling 800-567-6789 and I believe it's option 1 for tech support, and option 1 for Windows, and option 1 for High Speed Internet (HSI).
    A Verizon Online tech support consultant should be able to place an order to drop ship replacement equipment. I am unaware of any potential charge to do so. I believe with HSI modems and routers have a one year warranty under which Verizon will absorb the cost of a replacement.
    Thank you,
    -Harles

  • AIR 1.5.3 colorTransform problem

    When I run this code in in Flex 3 it works fine:
    private function setDigitsColor( t:Text, iHex:int ):void
    var ct:ColorTransform = t.transform.colorTransform;
    ct.color = iHex;
    t.transform.colorTransform = ct;
    (It changes the font color in a Text comp)
    When running the resulting Air program it doesnt work - the fontcolor doesnt change.
    Likewise, when running it in Flash Builder it doesnt work.
    I can get the same effect by using setStyle instead.
    But I wonder if this is a bug.
    Any idea ?

    JL,
    Have you updated your SDK to 1.5.3? You need to do download it and replace your existing AIR SDK 1.5 directory with the downloaded AIR 1.5.3 SDK donwload. I have no idea where this would be stored on a MAC. You then need to modify your application XML file, change the names space to Adobe AIR 1.5.3 and add a new node called PublisherID and it needs the value of your orginal private key (again I am not sure where you find this on a mac, it usually shows as part of the path for your sol files. A big numeric value usually ending with .1). This kind of half solves the problem. You are then meant to run the new ADT utility with the -migrate option from the command line (the java adt.js and adt.bat files are in the SDK). This kind of works butyou end up with a new generated AIR file which is at least twice as big as the original, however, I also get some things that don't work propeperly in the migrated AIR program so I have deiced not to go down that route but just re-install everybody instead which is a rubbish outcome.
    In short this is an Adobe screw up of moumental proprtions. I flagged this up some time ago with Adobe but to no avail. At least with version 1.5.3 the publisherID is now independant of the digital certificate private key value so publisc key renewals are no longer a headache. I am justglad we did not do a major product launch with th eprior versions or we would be in a serious mess. Unable to do any application updates automatically and with the location of the flash file lost for future versions. I would be even more stuffed if I had encrypted the sol files.
    I have been working with AIR since beta over two years ago. I found serious bugs (especially memory leaks) with it all along the way and I have learned the hard way to program around them. Their technical support is practically non existant. Adobe put me on their developer forums and I was getting more questions than answers from the Adobe techs. Best of luck....
    Steve

  • Beats Audio equalizer frozen

    I have an HP Envy 17-j034ca Notebook PC with Beats Audio.
    I recently did an upgrade to Windows 8.1/ 64 bit. The new ADT audio driver appears to have over ridden the Beats Audio equalizer and it has become inoperable. (the sound works but Beats not beating.)
    Should I roll back the ADT driver? Is this the best solution?   Thanks
       <script src="chrome://hdv/content/hdv.js" type="application/javascript" charset="UTF-8"></script><script src="chrome://hdv/content/hdv.js" type="application/javascript" charset="UTF-8"></script>
    This question was solved.
    View Solution.

    Hi @Loogan
    Welcome to the HP Support Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I see that you are missing your Beats Audio equalizer after upgrading to Windows 8.1. I will be happy to assist you with this. You can try rolling back the driver to see if that restores the Beats Audio for your. If that doesn't work try installing this IDT High-Definition Audio Driver in case Windows just installed a generic driver.
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Flash cs5 / cs5.5 multitasking

    hi tehre , flash cs5 (aid2.6)/ cs5.5
    i read it possible to create apps with multitasking
    so , how i create multitasking apps , i mean when i click on home button(iphone button) it not restart my apps?

    that what i think
    so why i publish and that not multitasking , i mean when i comeback the apps restart
    i have cs5 with air 2.6 sdk
    i update my cs 5
    help > updates (installed all)
    after i download air 2.6 sdk > change the PFI name , and create new empty folder PFI export only the sdk 2.6 files
    and add this files for my PFI folder :
    Flash Professional CS5 Update for iOS
    10/11/2010 This update to Flash Professional CS5 addresses issues when submitting AIR applications for iOS to Apple’s App Store that resulted from changes to Apple’s application submissions tools.
    IMPORTANT: Please download and install the Flash Professional CS5 Update 11.0.2 prior to installing this update for iOS.
    Download the Flash Professional CS5 Update for iOS for all languages:
    Download the Windows Update (ZIP, 22.8MB)
    somthing worng ?
    why the multitasking dont work?

  • Entitlement issues when syncing iPhone app to phone

    So I have a developer account with Apple, and have the certificate and provisioning profile downloaded and set in the Deployment tab. When syncing to my iPhone though it says the Entitlements are not valid and the install fails.
    The App name I set is: l5iphone7 and the App ID in the Deployment tab is com.mycompanyname.l5iphone7and I publish using the Deployment-Ad Hoc type. But no luck.
    Thanks for any help. I have seen a number of issues like this...but seemed to have tried the solutions to no avail.
    ETA: I have a 3G Phone version 4.1 installed. Will iphone packager only run on 3 or less?

    Hi,
    The good news is that PFI built apps will run on iOS 4.1 devices. The challenge is getting all the certificate, provisioning and other bits in the right place for it to install correctly.
    Confirm that your device is listed in the provisioning profile you created. Double check that the bundle id is the same as what's assigned to the prov profile. And finally, make sure you're .p12 cert is exported from the correct key in your KeyChain (I'm assuming your on a Mac).
    It's tricky, but once you get the cert and prov profile right, you'll be able to build and install to your device.
    Good luck,
    iBrent

  • Try new APNs , deploy by adt to iphone, caught Installation Error: ApplicationVerificationFailed.

    Try new APNs , deploy by adt to iphone, caught Installation Error: ApplicationVerificationFailed.
    Develop in Flash Builder 4.6, on Windows 7

    also tried under mac, itune failed, and adt failed with same error.
    app.xml changed like:
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/3.4">
    <Entitlements><![CDATA[
    <key>application-identifier</key>
    <string>xxxxxxx.com.xxxxxx</string>
    <key>get-task-allow</key>
    <true/>
    <key>aps-environment</key>
    <string>development</string>
    <key>keychain-access-groups</key>
    <array>
    <string>xxxxxxx.*</string>
    </array>
    ]]></Entitlements>

  • Use adt to package an air installer success, but install this air file "sorry , an error has occured

    hi everyone, i am using a bat file to package an air file ,
    this application runs on windows 7 32 bit,
    it need to call another windows application , so i google and then find i need to add -target native when package , so i added.
    the bat file is like below:
    ========================================
    @echo off
    :: AIR application packaging
    :: More information:
    :: http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_5.html#1035959
    :: Path to Flex SDK binaries
    set PATH=%PATH%;C:\AdobeAIRSDK\bin
    :: Signature (see 'CreateCertificate.bat')
    set CERTIFICATE=yeahCert.pfx
    set SIGNING_OPTIONS=-storetype pkcs12 -keystore %CERTIFICATE% -tsa none
    if not exist %CERTIFICATE% goto certificate
    :: Output
    if not exist air md air
    set AIR_FILE=air/jonnson.air
    :: Input
    set APP_XML=application.xml
    set FILE_OR_DIR=-C bin .
    echo Signing AIR setup using certificate %CERTIFICATE%.
    call adt -package      %SIGNING_OPTIONS%  -target native  %AIR_FILE% %APP_XML% %FILE_OR_DIR% 
    if errorlevel 1 goto failed
    echo.
    echo AIR setup created: %AIR_FILE%
    echo.
    goto end
    :certificate
    echo Certificate not found: %CERTIFICATE%
    echo.
    echo Troubleshotting:
    echo A certificate is required, generate one using 'CreateCertificate.bat'
    echo.
    goto end
    :failed
    echo AIR setup creation FAILED.
    echo.
    echo Troubleshotting:
    echo did you configure the Flex SDK path in this Batch file?
    echo.
    :end
    pause
    ======================================================
    after run this bat , the air file is successfully built , but when i want to install this air , it says "sorry ,an error has occured .....  bla bla installer file is damaged....bla bla "
    but when i remove the red part -target native  in the command above then run it again , the new packaged air file can install successfully, but the application can not call other windows apllication anymore, nativeprocess.issupported always returns false when running
    so seems like the problem is all about -target native , deos anyone know whats wrong ?
    this problem really bothers me long time , any help will be appreciated. thanks in advance!

    Nice! I swear I tried that URL (substituting "mac" for "win" and "MAC" for "WIN" in the one relaxatraja posted), but I guess I missed something.
    Ironically, it doesn't include a binary either, but a simple alias works:
    alias pfi='java -jar /path/to/PFI/lib/pfi.jar'
    And it did indeed produce an ipa without error. I don't have my hardware with me, but I'll be able to test it tonight. Meanwhile, I think I'm in business. Thank you all!

  • How Do I Configure the PFI Lines as input in PXI 6713 module

    Hi,
    I have PXI 6713 module in my PXI 1044 chassis. I have configured PXI 6713 module to geneate certain analogue signals to my board.
    Board inturn process this analogue signal and responds back the status signals through a status register on the board. In my application,the status bits in status register of  the board are mapped to the PFI 0:3 bits on PXI 6713 module ( pins 11,10 , 42 and 43).
    My query is how do i configue the PFI lines as input in PXI 6713 module to read these status bits ??
    May be below explanation could give you little bit more information w.r.to my query.
    When i use NI USB - 6008    module to read the same bits , since this device has 12 digital I/O lines, i could able to read the status bits in to the last 4 digital lines by configuring the those digital lines as input.
    In PXI 6713  module i have only 8 digital lines. These 8 digital lines i have used to send the digital signals to the board. I am left with no digital I/O lines. Hence i couldn't use these digital lines. I am left with only one option to use. Theya re PFI lines. Moreover the status bits in the pin out of board are mapped such that the bits can be read through the PFI lines.
    I am wondering do we have any example code to use  inorder to read these status bits on the board using the PFI lines.
    Please let me know if you need additional information to help me out.
    Thanks.
    Solved!
    Go to Solution.

    Hello There,
    When using the PFI pin as an input, you can individually configure each PFI for edge or level detection and for polarity selection.  This PFI information can be referenced in the DAQ Analog Output Series Manual on page 6-1 (http://www.ni.com/pdf/manuals/370735e.pdf).  Unfortunately, the PXI-6713 PFI lines are only capable of timing input and output signal for AI, AO, or counter/timer functions.  The option of creating static DI from the PFI lines is not available for the PXI-6713. However, some cards have this capability.  Newer National Instruments products with PFI lines have the option of setting PFI lines as:
    Static Digital Input 
    Static Digital Output
    Timing Input Signal for AI, AO, DI, DO, or counter/timer functions 
    Timing Output Signal from AI, AO, DI, DO, or counter/timer functions
    (http://digital.ni.com/public.nsf/allkb/14F20D79C649F8CD86256FBE005C2BC4)
    When set as static DIO, the PFI lines are assigned to a different port (eg. PFI0-7 is Port1).  More details about this can be referenced at:
    http://digital.ni.com/public.nsf/allkb/DA2D3CD0B8E8EE2A8625752F007596E1
    http://digital.ni.com/public.nsf/allkb/862567530005F09E8625677800577C27
    Regards,
    Roman Sandoval | National Instruments | RF Systems Engineer

  • IOS app starts with black screen when compiled via ADT (Flex 4.6, AIR3.7)

    I was using Flex 4.6 with AIR 3.1 in Flash Builder 4.6 on Windows 7. I used two build methods: 1) "Export Release Build" in Flash Builder during development and 2) the ADT toolchain on my build server.
    For the ADT method I would create AIR intermediate files using:
    "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\FlashBuilderC.exe" --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data [PATH_TO_SOURCE] -file [PATH_TO_BUILD_XML] [PROJECT_NAME]
    Where my build.xml looks like:
    <?xml version="1.0"?>
    <project default="main">
        <target name="main">
            <fb.exportReleaseBuild project="[PROJECT_NAME]" basefilename="[BASE_FILE_NAME]" verbose="true" destdir="bin-release" />
        </target>
    </project>
    From these intermediate AIR files I would create my APK and IPA files using ADT like so (shown for iOS):
    echo [CERTIFICATE_PASSWORD]|"C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\bin\adt" -package -target ipa-test -provisioning-profile [PATH_TO_MOBILE_PROVISIONING_FILE] -storetype PKCS12 -keystore [PATH_TO_DEV_CERTIFICATE] [OUTPUT_PATH] [PATH_TO_IOS_AIRI]
    This procedure produced working iOS and Android apps as well.
    I decided to upgrade AIR to version 3.7. I used the overlay proceedure described here (http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html). I also updated the namespace in my project to reflect the new AIR version. Using "Export Release Build" in Flash Builder produces working copies of both the iOS and Android apps. Furthermore, the secondary method (used on my build server), produces both APK and IPA files without error. The APK works just fine but the IPA does not. When running the app on an Apple device, it starts up with a black screen and stays this way.
    To summarize:
    Flex 4.6, AIR 3.1: "Export Release Build" and ADT tool chain produce working APK and IPA files.
    Flex 4.6, AIR 3.7 using overlay procedure: "Export Release Build" produces working APK and IPA files, ADT tool chain produces working APK file but IPA file loads black screen on Apple devices.
    More notes:
    I had made a back up of the "4.6.0" directory that holds the Flex and AIR SDK files. If I replace the overlayed Flex 4.6.0 SDK directory with the original (which contains AIR 3.1) and revert the namespace back to 3.1 in my project, everything goes back to normal and I get working apps via both methods described above.
    Edit: I also should note that I've tried many other combinations of Flex and AIR (Flex 4.9.1 from Apache and AIR 3.5/3.6), which all produce the same issue. It seems that the overlay procedure breaks something for ADT with iOS specifically...
    Edit 2: I also noticed that the IPA files output by methods 1 and 2 are slightly different. Opening these with 7-Zip I see that most of the files are the same, but some differ slightly in size (this was due to 'ipa-test' vs 'ipa-ad-hoc'). The odd thing is that in the IPA file that does not work (produced via the ADT method), the SWF file is named "swf3465180827438224920.tmp" while the SWF in the IPA that was created using "Export Release Build is named "[PROJECT_NAME].swf". It almost appears as though ADT fails to rename the temporary SWF file. I also realized that the "Export Release Build" method likely used '-target ipa-ad-hoc', so I tried this in the ADT method with the same result.
    Any thoughts?

    Hello Nimit,
    Thank you for your response. I have tried AIR 3.8 Beta and this did not correct the problem. I downloaded the AIR 3.7 SDK from http://airdownload.adobe.com/air/win/download/latest/AdobeAIRSDK.zip . I have also tried with the new compiler as well, with the same result.
    To keep things simple, I've created a very lightweight example with which I see the issue. I've also been able to remove the Flash Builder step and reproduce the problem with mxmlc and adt only. Since the files are simple, I will just post them here.
    TestApp-app.xml
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/3.7">
        <id>com.company.testapp</id>
        <filename>TestApp</filename>
        <versionNumber>1.0.0</versionNumber>
        <initialWindow>
            <content>TestApp.swf</content>
            <autoOrients>false</autoOrients>
            <fullScreen>true</fullScreen>
            <visible>true</visible>
            <softKeyboardBehavior>none</softKeyboardBehavior>
        </initialWindow>
        <android>
            <colorDepth>16bit</colorDepth>
            <manifestAdditions><![CDATA[
                <manifest android:installLocation="auto">
                    <uses-permission android:name="android.permission.INTERNET"/>
                </manifest>
            ]]></manifestAdditions>
        </android>
        <iPhone>
            <InfoAdditions><![CDATA[
                <key>UIDeviceFamily</key>
                <array>
                    <string>1</string>
                    <string>2</string>
                </array>
            ]]></InfoAdditions>
            <requestedDisplayResolution>high</requestedDisplayResolution>
        </iPhone>
    </application>
    TestApp.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" firstView="TestView" applicationDPI="160">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    </s:ViewNavigatorApplication>
    TestView.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="Test App" >
        <s:VGroup width="100%" height="100%" verticalAlign="middle" horizontalAlign="center" >
            <s:Label text="Hello World!" />
        </s:VGroup>
    </s:View>
    Create the above files in a single directory. Run the following to get a working IPA (method 1):
    > mxmlc +configname=airmobile TestApp.mxml
    > adt -package -target ipa-test -provisioning-profile [PROVISIONING_FILE] -storetype pkcs12 -keystore [CERTIFICATE] TestApp.ipa TestApp-app.xml TestApp.swf
    To reproduce the problem, run the following (method 2):
    > mxmlc +configname=airmobile TestApp.mxml
    > adt -prepare TestApp.airi TestApp-app.xml TestApp.swf
    > adt -package -target ipa-test -provisioning-profile [PROVISIONING_FILE] -storetype pkcs12 -keystore [CERTIFICATE] TestApp.ipa TestApp.airi
    If you unpack the working IPA (from method 1) you will see the file "TestApp.ipa\Payload\TestApp.app\TestApp.swf". However, if you likewise inspect the IPA created via the AIR intermediate method (method 2), you will see the file "TestApp.ipa\Payload\TestApp.app\swf1970057761096800694.tmp" and there will be no "TestApp.swf". In both IPA files, if we inspect "TestApp.ipa\Payload\TestApp.app\Info.plist", we see the snippet:
            <key>CTInitialWindowTitle</key>
            <string>TestApp</string>
            <key>CTInitialWindowContent</key>
            <string>TestApp.swf</string>
            <key>CTMaxSWFMajorVersion</key>
            <string>20</string>
            <key>CFBundleSupportedPlatforms</key>
    So I suspect "TestApp.ipa\Payload\TestApp.app\swf1970057761096800694.tmp" is incorrectly named, cannot be found at runtime and thus displays a black screen.
    This problem is observed when using AIR 3.7. It is not observed when using AIR 3.1.

  • Sidecar AIR Runtime install with  Native .exe installer using ADT

    I have packaged my AIR app into a Native .exe installer using ADT. If the user does not have air installed and they are connected to the internet, the AIR runtime is automatically installed.
    Is it possible to package the AIR runtime into the exe so that if the user is not online the AIR runtime is installed?
    I have experimented with the sidecar install and .air file but ideally I want to only have the one file(.exe). I already have a distribution licence from Adobe.

    manicjames wrote:
    I have packaged my AIR app into a Native .exe installer using ADT. If the user does not have air installed and they are connected to the internet, the AIR runtime is automatically installed.
    Is it possible to package the AIR runtime into the exe so that if the user is not online the AIR runtime is installed?
    I have experimented with the sidecar install and .air file but ideally I want to only have the one file(.exe). I already have a distribution licence from Adobe.
    This isn't available at this time, but I think it's a great idea.  You might want to add a feature request for this over at ideas.adobe.com and bugbase.adobe.com, or review and vote for these current feature requests if they provide for what you're looking for:
    Portable AIR Apps
    Create portable AIR apps
    If you decide to add a new request, please post back with the URL so others can cast their votes and add comments.
    Chris

  • Flex 4.6 IOS Compiler ADT Failed at  EXCEPTION_UNCAUGHT_CXX_EXCEPTION

    Hi All,
    I tried to create IPA file through both Windows XP and MAC by using ADT command Line, two ENV are with same JRE version and FB version, however, I met totally different results.
    On MAC, the IPA was created successfully, while on Windows XP, I am hitting "EXCEPTION_UNCAUGHT_CXX_EXCEPTION" exceptions. The log posted below:
    Searching internet, found a post @ http://stackoverflow.com/questions/8879833/flex-4-6-ios-compiler has similar error as me, but can not find any solutions there, I tried to follow some suggestion there to change different XMX size and no lucky so far.
    Post question here, can any one give me a light.
    Thanks.
    ========================================================================================== =========
    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x7c812afb, pid=7108, tid=8132
    # JRE version: 7.0_03-b05
    # Java VM: Java HotSpot(TM) Client VM (22.1-b02 mixed mode windows-x86 )
    # Problematic frame:
    # C  [kernel32.dll+0x12afb]
    # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.sun.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    ---------------  T H R E A D  ---------------
    Current thread (0x003e7800):  JavaThread "main" [_thread_in_native, id=8132, stack(0x00910000,0x00a90000)]
    siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520 0x00a8f7b0 0x49de74a4
    Registers:
    EAX=0x00a8f718, EBX=0x00400000, ECX=0x00000000, EDX=0x49eb6aa0
    ESP=0x00a8f714, EBP=0x00a8f768, ESI=0x00a8f7a0, EDI=0x72af0020
    EIP=0x7c812afb, EFLAGS=0x00000206
    Top of Stack: (sp=0x00a8f714)
    0x00a8f714:   49eb666c e06d7363 00000001 00000000
    0x00a8f724:   7c812afb 00000003 19930520 00a8f7b0
    0x00a8f734:   49de74a4 4a019ca4 4a019ca4 00a8f760
    0x00a8f744:   49cb398f d61216f8 d5dcc161 49cbcad0
    0x00a8f754:   49eb6aa0 00a8f798 49cb5542 00000008
    0x00a8f764:   49cb3a0e 00a8f7a0 49cb3439 e06d7363
    0x00a8f774:   00000001 00000003 00a8f794 e06d7363
    0x00a8f784:   00000001 00000000 00000000 00000003
    Instructions: (pc=0x7c812afb)
    0x7c812adb:   f9 0f 0f 87 6d 1e 03 00 85 c9 89 4d c0 74 07 57
    0x7c812aeb:   8d 7d c4 f3 a5 5f 8d 45 b0 50 ff 15 10 15 80 7c
    0x7c812afb:   5e c9 c2 10 00 85 ff 0f 8e 36 93 ff ff 8b 55 fc
    0x7c812b0b:   89 55 0c 0f b7 16 8b 7d f8 8a 14 3a 88 11 8b 78
    Register to memory mapping:
    EAX=0x00a8f718 is pointing into the stack for thread: 0x003e7800
    EBX=0x00400000 is an unknown value
    ECX=0x00000000 is an unknown value
    EDX=0x49eb6aa0 is an unknown value
    ESP=0x00a8f714 is pointing into the stack for thread: 0x003e7800
    EBP=0x00a8f768 is pointing into the stack for thread: 0x003e7800
    ESI=0x00a8f7a0 is pointing into the stack for thread: 0x003e7800
    EDI=0x72af0020 is an unknown value
    Stack: [0x00910000,0x00a90000],  sp=0x00a8f714,  free space=1533k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [kernel32.dll+0x12afb]  RaiseException+0x52
    C  [llvm.dll+0x443439]
    C  [llvm.dll+0x4429d5]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  llvm.llvmJNI.WriteModuleToFile(Ljava/lang/String;JLllvm/Module;J)V+0
    j  llvm.LLVM.WriteModuleToFile(Ljava/lang/String;Lllvm/Module;J)V+7
    j  com.adobe.air.ipa.AOTCompiler.writeBitcode(Ljava/lang/String;Lllvm/Module;)Ljava/io/File; +52
    j  com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl()V+721
    j  com.adobe.air.ipa.BitcodeGenerator.main([Ljava/lang/String;)V+114
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x49171400 JavaThread "Service Thread" daemon [_thread_blocked, id=6184, stack(0x496a0000,0x49820000)]
      0x4916c000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=4024, stack(0x49650000,0x496a0000)]
      0x4916a000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6516, stack(0x494d0000,0x49650000)]
      0x49168c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7532, stack(0x49350000,0x494d0000)]
      0x48de0c00 JavaThread "Finalizer" daemon [_thread_blocked, id=6480, stack(0x48fd0000,0x49150000)]
      0x48ddbc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=608, stack(0x48e50000,0x48fd0000)]
    =>0x003e7800 JavaThread "main" [_thread_in_native, id=8132, stack(0x00910000,0x00a90000)]
    Other Threads:
      0x48dd6400 VMThread [stack: 0x48e00000,0x48e50000] [id=5676]
      0x49184800 WatcherThread [stack: 0x49820000,0x49870000] [id=7184]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation   total 314560K, used 279616K [0x02b40000, 0x18090000, 0x18090000)
      eden space 279616K, 100% used [0x02b40000, 0x13c50000, 0x13c50000)
      from space 34944K,   0% used [0x13c50000, 0x13c50000, 0x15e70000)
      to   space 34944K,   0% used [0x15e70000, 0x15e70000, 0x18090000)
    tenured generation   total 699072K, used 699071K [0x18090000, 0x42b40000, 0x42b40000)
       the space 699072K,  99% used [0x18090000, 0x42b3ffe8, 0x42b40000, 0x42b40000)
    compacting perm gen  total 12288K, used 4357K [0x42b40000, 0x43740000, 0x46b40000)
       the space 12288K,  35% used [0x42b40000, 0x42f81740, 0x42f81800, 0x43740000)
    No shared spaces configured.
    Code Cache  [0x00ac0000, 0x00e28000, 0x02ac0000)
    total_blobs=1624 nmethods=1398 adapters=162 free_code_cache=29297Kb largest_free_block=29998144
    Dynamic libraries:
    0x00400000 - 0x0042e000           C:\windows\system32\java.exe
    0x7c900000 - 0x7c9b2000           C:\windows\system32\ntdll.dll
    0x7c800000 - 0x7c8f6000           C:\windows\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000           C:\windows\system32\ADVAPI32.dll
    0x77e70000 - 0x77f03000           C:\windows\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000           C:\windows\system32\Secur32.dll
    0x7e410000 - 0x7e4a1000           C:\windows\system32\USER32.dll
    0x77f10000 - 0x77f59000           C:\windows\system32\GDI32.dll
    0x773d0000 - 0x774d3000           C:\windows\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.60 28_x-ww_61e65202\COMCTL32.dll
    0x77c10000 - 0x77c68000           C:\windows\system32\msvcrt.dll
    0x77f60000 - 0x77fd6000           C:\windows\system32\SHLWAPI.dll
    0x76390000 - 0x763ad000           C:\windows\system32\IMM32.DLL
    0x629c0000 - 0x629c9000           C:\windows\system32\LPK.DLL
    0x74d90000 - 0x74dfb000           C:\windows\system32\USP10.dll
    0x78aa0000 - 0x78b5e000           C:\Program Files\Java\jre7\bin\msvcr100.dll
    0x6d830000 - 0x6db58000           C:\Program Files\Java\jre7\bin\client\jvm.dll
    0x71ad0000 - 0x71ad9000           C:\windows\system32\WSOCK32.dll
    0x71ab0000 - 0x71ac7000           C:\windows\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000           C:\windows\system32\WS2HELP.dll
    0x76b40000 - 0x76b6d000           C:\windows\system32\WINMM.dll
    0x76bf0000 - 0x76bfb000           C:\windows\system32\PSAPI.DLL
    0x6d7c0000 - 0x6d7cc000           C:\Program Files\Java\jre7\bin\verify.dll
    0x6d2f0000 - 0x6d310000           C:\Program Files\Java\jre7\bin\java.dll
    0x6d810000 - 0x6d823000           C:\Program Files\Java\jre7\bin\zip.dll
    0x49870000 - 0x49ef2000           C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\lib\aot\lib\llvm.dll
    0x59a60000 - 0x59b01000           C:\windows\system32\dbghelp.dll
    0x77c00000 - 0x77c08000           C:\windows\system32\VERSION.dll
    VM Arguments:
    jvm_args: -Djava.util.Arrays.useLegacyMergeSort=true -Xss1500K -Xms256m -Xmx1024m
    java_command: com.adobe.air.ipa.BitcodeGenerator C:\TEMP\7026\iOS\AOTBuildOutput6004052247317877068.tmp\BitcodeGenerator_opts.ser C:\TEMP\7026\iOS\AOTBuildOutput6004052247317877068.tmp\ABCFiles
    Launcher Type: SUN_STANDARD
    Environment Variables:
    CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
    PATH=C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\ZipGenius 6\;C:\Program Files\Java\jdk1.6.0_05\bin;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\WinMerge;C:\WINDOWS\system32\WindowsPowerShell\v1.0;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\apache-ant-1.8.1\bin;C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\lib; C:\Program Files\Research In Motion\blackberry-tablet-sdk-2.0.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\frameworks;C:\Program Files\TortoiseSVN\bin
    USERNAME=Mounib
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 37 Stepping 2, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
    Memory: 4k page, physical 3633132k(906276k free), swap 5560948k(1664932k free)
    vm_info: Java HotSpot(TM) Client VM (22.1-b02) for windows-x86 JRE (1.7.0_03-b05), built on Feb  3 2012 20:43:37 by "java_re" with unknown MS VC++:1600
    time: Thu Apr 19 10:47:22 2012
    elapsed time: 472 seconds

    Same issue for me, my coworkers can build on their Mac but I can't using Windows.
    I've got a different config:
    ---------------  S Y S T E M  ---------------
    OS: Windows 7 , 64 bit Build 7601 Service Pack 1
    CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 30 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
    Memory: 4k page, physical 4117044k(46756k free), swap 8232240k(3170684k free)
    vm_info: Java HotSpot(TM) Client VM (20.6-b01) for windows-x86 JRE (1.6.0_31-b05), built on Feb  3 2012 18:44:09 by "java_re" with MS VC++ 7.1 (VS2003)

Maybe you are looking for

  • Error while sending mail with pdf attachment

    Dear All, I am sending mail to outlook Internet address, with PDF attachment, if i have the some text in the mail along with the attachment, then the PDF attachment file is not opeining, throws file corrupted error. If i don't have the text for mail

  • Foreign language display?

    Hi, I'm using a A305-S6898 and I want to view Japanese websites, but the characters come out in a bunch of square symbols. I know I was able to read it before I reinstalled the vista, but something happened and now I cant read them. Please help!

  • SSL Cert

    I have a NetWare 5.1 server running the Apache 1.3.x webserver and Tomcat servlets. This is the webserver for my GroupWise WebAccess interface. I have an SSL cert on the box to encrypt the data for WebAccess and everything works nicely. However, I mu

  • Parallel processing in ODI

    Hi experts, I have 30+ files in text format, that hold partitions of the same table. These partitions can/must go through the same processing in parallel, and then must be appended back to a single large file. I'd have no problem designing the transf

  • Updaterules

    hi,   can anyone explain all UPDATE rules in bw3.5 PLZ WHAT IS USE OF ALL UPDATE RULES Please search the forum bedore posting a thread Edited by: Pravender on Aug 6, 2010 11:27 AM