Copy link to clipboard
Copied
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:
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.
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.
Copy link to clipboard
Copied
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(AIRNativeInstallerPackager.java:129)
at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionManager.doExport(ExportReleaseVersionManager.java:586)
at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard$1.run(ExportReleaseVersionWizard.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
FlashBuilder.ini
Please click the image for more clearer view.
Notice that the plugin used is not intended for x64 processors.
Please help.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.