4 Replies Latest reply on Aug 16, 2016 3:49 PM by RampantShadow

    Platform conversion failed error during release build

    FranzBan

      This is a very annoying problem while generating release build files. Here is the steps I did while buiding:

       

      1. Select Project > Export Release Build

      2. Select Signed Native Installer

      3. Import certificate

      4. Click Next.

       

      I always got the following error:

       

      build_error.png

      I have the following setup:

       

      OS: Windows 8.1

      System type: 64-bit

      Flash Builder Version: 4.6 Premium

      Installed FB: FlashBuilder_4_6_LS10.exe

       

      Please help. This is giving me a lot of headaches for a couple of days now.

        • 1. Re: Platform conversion failed error during release build
          FranzBan Level 1

          Additionally, here's the stack trace:

           

          java.io.IOException: Platform conversion failed. Process exited with error 5. Output was "[ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: EndUpdateResource: Windows Error #5" errorID=0]

          "

            at com.adobe.air.nai.NativePackager.conversionFail(NativePackager.java:222)

            at com.adobe.air.nai.NativePackager.invokePlatformConversion(NativePackager.java:203)

            at com.adobe.air.nai.NativePackager.createPackage(NativePackager.java:92)

            at com.adobe.flexbuilder.multisdk.apollo.export.AIRNativeInstallerPackager.create(AIRNativeI nstallerPackager.java:129)

            at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionManager.doExport(Ex portReleaseVersionManager.java:586)

            at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard$1.run(Exp ortReleaseVersionWizard.java:208)

           

          Message:

           

          Platform conversion failed. Process exited with error 5. Output was "[ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: EndUpdateResource: Windows Error #5" errorID=0]

          "

           

          I also suspect this is because of the following settings:

           

          Eclipse.ini

           

          eclipse.png

           

          FlashBuilder.ini

           

          flashbuilder.png

           

          Please click the image for more clearer view.

           

          Notice that the plugin used is not intended for x64 processors.

           

          Please help.

          • 2. Re: Platform conversion failed error during release build
            FranzBan Level 1

            I see this similar issue reported in Apache Flex but not yet fixed:

             

            [FLEX-24594] ADT fails with exit code 5 (Unknown error) - ASF JIRA

            • 3. Re: Platform conversion failed error during release build
              FranzBan Level 1

              I tried installing windows 7 32-bit operating system and I no longer have problems on exporting release builds. I'm just wondering if Adobe released Flash Builder 4.6 for x64 operating systems.

              • 4. Re: Platform conversion failed error during release build
                RampantShadow

                In case any one finds this later on, I had this same issue but I fixed if by re-linking my Library Path files (even if they look correct they don't seem to connect for some reason) this resolved my issue, hopefully this is easier to do than re-installing or installing a fresh operating system to get it done.