Flash Builder 4.5.1 - Problem compile Flex Mobile release build

I am building a flex mobile applicaiton using Flash Builder 4.5.1. The application works fine on the device (Nexus S) and desktop in the debug mode however, whenever I export the release build the app is not installed on the device automatically. When I manually install .apk it also fails (get Application not installed message with green check mark). Any thoughts?

Getting a big closer... Compiled .swf using mxmlc, then manually packaged .apk without any issues... When I try to run: adb install -r myapp.apk: I get the following error:
          pkg: /data/local/tmp/myapp.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Perhaps certificates are not respected?

Similar Messages

  • In Flex Mobile Release Build arguments.callee cause crash

    This is my code in a simpler way:
    In my main MXML:
    private var applicationData:AppData = AppData.getInstance();
    My AppData Class
    package {
        public class AppData {
            private static var instance:AppData;
            public function AppData(caller:Function) {
                super();
                if (caller != AppData.getInstance)
                    throw new Error("This class is a Singleton and can not be instantiated: Use the .getInstance() method!!");
            public static function getInstance():AppData {
                if (!instance)
                    instance = new AppData(arguments.callee);
                return instance;
    arguments.callee cause a crash in the Release Build (just stop to splash screen), not in the Debug Version.
    It is possible to log this kind of error?

    Tring to run via adl i get this error:
    -bash: adl: command not found
    im inside the bin directory: /Applications/Adobe\ Flash\ Builder\ 4.6/sdks/4.6.0/bin/
    And should put the folder AdobeAIRSDK somewhere or should install?
    Thanks and sorry for all this question!

  • Flex 4 Release Build breaks text editor

    I was working on an editor using FB4 beta 2. Fonts were loaded at runtime ... CFF is being used.
    In Flex 4 SDK that comes with FB4 beta 2, my spark rich text field sitting in a group in my application looks fine - proper font families applied and renders correctly. My font + style drop down lists are all fine as well.
    As soon as I switch to the release SDK, or any SDK later than FB4 beta 2 (well, major releases) the font styles are not longer properly applied to the field. Changes to the family no longer apply to the rich text field.
    The rich editable text that I'm using is basically as follows:
                    <s:RichEditableText id="editor" fontLookup="embeddedCFF" renderingMode="cff"
                                        focusEnabled="false" x="100" y="50" focusIn="focusInEditor(event)" focusOut="focusOutEditor(event)"
                                        width="300" height="200">
                        <s:textFlow>
                            <s:TextFlow fontFamily="HelveticaNeueLTStd-MdCn">
                                <s:p fontFamily="HelveticaNeueLTStd-MdCn" fontSize="14" color="0x999999">Test first line of text</s:p>
                                <s:p fontFamily="HelveticaNeueLTStd-Blk" fontSize="18" color="0xFFFFFF">Test second line of text</s:p>
                            </s:TextFlow>
                        </s:textFlow>
                    </s:RichEditableText>
    That probably isn't too important but I figured I would paste it anyway. I'm using setFormatOfRange primarily and this block of textFlow was only to get some initial content into the text area.
    There is a ton of other related code for editing, selection, etc. It seems any font family related change does not get applied.
    I know there have been a ton of changes and this may be difficult to pin down. However, this is pretty awkward. The application I was building loaded up fine, fonts loaded up all fine and all editing worked perfectly until going to release SDK.
    Is there any change that would cause this to happen?

    Ok, so I finally got it working but this is not ideal at all. Adobe really needs to give us some direction on how to properly deal with font embedding and TLF now that the release build breaks all functionality with loading runtime fonts and TLF.
    Problem:
    I am embedding collections of fonts (faces) into single family classes. Each individual face is registered with Font.registerFont(). I need to do this because I have to have mixed fonts within text flows - at least according to Alex H's recent blog post.
    Fonts do not display in TLF without doing the following:
    1. GlobalSettings.resolveFontLookupFunction = null;
    2. editor.textFlow.flowComposer.swfContext = ISWFContext(this.getFontContext("AnyFamilyNameFromAnyFontEmbedded", false, false, FontLookup.EMBEDDED_CFF));
    3. Instead of #2, use editor.textFlow.invalidateAllFormats();
    Either #2 or #3 need to be performed. If I have a spark richEditableText control in MXML with defined familes from the loaded fonts. I even tried placing the control into a separate state so it wasn't created until after the fonts were loaded... I still needed to invalidate the formats or set the context.
    The "AnyFamilyNameFromAnyFontEmbedded" does not need to be all of the embedded family names. It only needs to be one of them. Once one is used, all embedded fonts work. Also, I have to use the internal namespace to even get access to getFontContext, another oddity that, in my humble opinion, should never be necessary to create mixed style TLF content.
    My questions are then:
    1. Why am I required to use ISWFContext if I am using Font.registerFont()?
    2. Why is GlobalSettings.resolveFontLookupFunction = null; also required for this to work?
    3. What is the recommended workflow to embed fonts from multiple SWF files into the release build and have it work without having to jump through all these hoops?

  • Flash Builder 4 for Mac: Unable to export a release build

    Hi
    I've been unable to export release builds of any AIR projects when using a Mac installation of Flash Builder 4. I can run the AIR apps within the IDE, but I keep getting the following error when exporting: "One or more errors were found while trying to build the release version. Unable to export."
    The weird thing is that I can export the exact same AIR projects using my Windows 7 copy of FB4 just fine, without any errors.
    Details of the Mac installation:
    OSX 10.5.8
    Flash Builder 4 plug-in version, v4.0.1, on Eclipse v3.4.2
    I performed a fresh install of FB4 today (before anyone suggests it ) but to no avail.
    The error log - I wasn't sure what to copy, so just took everything that had the right time entry:
    !ENTRY com.adobe.flexbuilder.project 4 43 2011-01-29 17:35:11.940
    !MESSAGE ExportReleaseVersionWizard: internal error occurred
    !STACK 0
    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:479)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
    at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionManager.doExport(Ex portReleaseVersionManager.java:305)
    at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.doBuild(E xportReleaseVersionWizard.java:152)
    at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportContentPage.setVisible(ExportC ontentPage.java:115)
    at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1161)
    at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1139)
    at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1128)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1126)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:820)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3482)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:9 7)
    at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
    at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.jav a:508)
    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
    at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.j ava:247)
    at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:583)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3482)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    Caused by: java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/String;
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.alterXmlTree(ApolloXMLBuilder.ja va:252)
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.generateXmlFile(ApolloXMLBuilder .java:142)
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.build(ApolloXMLBuilder.java:95)
    at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionManager$2.execute(E xportReleaseVersionManager.java:249)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    ... 61 more
    Root exception:
    java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/String;
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.alterXmlTree(ApolloXMLBuilder.ja va:252)
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.generateXmlFile(ApolloXMLBuilder .java:142)
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.build(ApolloXMLBuilder.java:95)
    at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionManager$2.execute(E xportReleaseVersionManager.java:249)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
    at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
    at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionManager.doExport(Ex portReleaseVersionManager.java:305)
    at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.doBuild(E xportReleaseVersionWizard.java:152)
    at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportContentPage.setVisible(ExportC ontentPage.java:115)
    at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1161)
    at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1139)
    at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1128)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1126)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:820)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3482)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:9 7)
    at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
    at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.jav a:508)
    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
    at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.j ava:247)
    at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:583)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3482)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    !ENTRY org.eclipse.core.resources 4 2 2011-01-29 17:35:12.026
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
    !STACK 0
    java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/String;
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.alterXmlTree(ApolloXMLBuilder.ja va:252)
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.generateXmlFile(ApolloXMLBuilder .java:142)
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.build(ApolloXMLBuilder.java:95)
    at com.adobe.flexbuilder.project.air.build.ApolloXMLIncrementalBuilder.build(ApolloXMLIncrem entalBuilder.java:74)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    !ENTRY org.eclipse.core.resources 2 75 2011-01-29 17:35:12.037
    !MESSAGE Errors during build.
    !SUBENTRY 1 com.adobe.flexbuilder.project 2 75 2011-01-29 17:35:12.037
    !MESSAGE Errors running builder 'AIR application.xml Builder' on project 'aqua'.
    !SUBENTRY 1 com.adobe.flexbuilder.project 2 75 2011-01-29 17:35:12.037
    !MESSAGE org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/String;
    !STACK 0
    java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/String;
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.alterXmlTree(ApolloXMLBuilder.ja va:252)
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.generateXmlFile(ApolloXMLBuilder .java:142)
    at com.adobe.flexbuilder.project.air.build.ApolloXMLBuilder.build(ApolloXMLBuilder.java:95)
    at com.adobe.flexbuilder.project.air.build.ApolloXMLIncrementalBuilder.build(ApolloXMLIncrem entalBuilder.java:74)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Hi Chris
    Thanks for your reply.
    I had already seen that post, and the answers were not applicable to me. But thankfully I have found the solution now!
    I Googled the error message: "org.apache.xerces.dom.DeferredElementImpl.getTextContent()Ljava/lang/ String", and came across the following bug report:
    http://code.google.com/p/alkwarel/issues/detail?id=10
    As suggested in the link above, I deleted the xerces.jar  located in user.home/Library/Java/Extensions/. I then cleaned my project, and FB4 for Mac finally exported the release build!
    That bug has been annoying me for MONTHS. I'm so happy it's fixed now!
    All the best,
    Zabeen

  • Compiler options for release build

    I am using Ant to build a series of swfs in an Actionscript project and I want to compile them as small as possible, but I can't compile them as small using Ant and the mxml compiler as I can compiling in FB using the Release Build.  What options can I use to emulate the FB release compilation?
    I use optimize=”true” and debug=”false”
    I have also seen this asked here:
    On: http://flex.gunua.com/?p=79 Chris asked:
    Does anybody know why the swf file is bigger when compiled by Ant, as opposed to when it’s done by the Flex Builder. It is even smaller (1/2 the size) when I use the “Export Release Build” option.
    I am using optimize=”true” and debug=”false” in the mxml task, but it does not seem to be enough.

    Hi Josh,
    I think this should help. The -dump-config option should help you get what you want.
    http://help.adobe.com/en_US/flashbuilder/using/WSbde04e3d3e6474c4-59108b2e1215eb9d5e4-8000 .html#WSbde04e3d3e6474c4-59108b2e1215eb9d5e4-7ff0
    Nishad

  • Actionscript mobile release build 0 percent

    Windows 7  64bit Flashbuilder 4.7JDK 1.7 AIR3.7
    my action script mobile game will not export a release build, it just hangs at 0 percent for hours and hours. In my task manager Java.exe grows to 7GB. Please help me!!
    others are having the same issue here
    http://forums.adobe.com/message/5688472#5688472
    http://forums.adobe.com/message/5688472#5688472

    I commented out a large array containing 30,000 elements, the release version published in minutes. Thanks for the advice....
    I am hoping if I upgrade from 8GB ram to 16GB this will help FlashBuilder publish a release version. I assumed since the Debug Version worked great the release would as well ...lesson learned.

  • Problems compiling Flex application

    I'm trying to compile a Flex application here but i'm getting a hell lot of errors:
    C:\STG\displays\RankingDisplay.as(47): col: 30 Error: Type was not found or was not a compile-time constant: Tween.
    C:\STG\displays\NameEntryDisplay.as(25): col: 26 Error: Definition fl.motion.easing:Bounce could not be found.
    C:\STG\utils\BitmapDataUtils.as(49): col: 4 Error: Access of undefined property MatrixTransformer.
    And lot's of others... I'm using the following command-line to compile:
    mxmlc ./src/MyProject.as
    I have the latest Flex SDK. What might be wrong?

    You dont have the imports correctly or they are missing

  • Any one who knows that use adt  to compile flex mobile projcet with air sdk 3.4 crash

      [java] # A fatal error has been detected by the Java Runtime Environment:
         [java] #
         [java] #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x101a9871, pid=5004, tid=7544
         [java] #
         [java] # JRE version: 6.0_16-b01
         [java] # Java VM: Java HotSpot(TM) Client VM (14.2-b01 mixed mode windows-x86 )
         [java] # Problematic frame:
         [java] # C  [llvm.dll+0x1a9871]
         [java] #
         [java] # An error report file with more information is saved as:
         [java] # E:\custom\build\deploy\ios\hs_err_pid5004.log
         [java] #
         [java] # If you would like to submit a bug report, please visit:
         [java] #   http://java.sun.com/webapps/bugreport/crash.jsp
         [java] # The crash happened outside the Java Virtual Machine in native code.
         [java] # See problematic frame for where to report the bug.
         [java] #
         [java] Undefined symbols for architecture armv7:
         [java]   "_abcMethod_AOTBuildOutput-0000000001_9708_9708_function spark.components.supportClasses::SkinnableTextBase.isOurFocus", referenced from:
         [java]       _ug_11903 in AOTBuildOutput-0.o
         [java]   "_abcMethod_AOTBuildOutput-0000000001_9465_9465_function spark.components::List.itemRemoved", referenced from:
         [java]       _ug_11903 in AOTBuildOutput-0.o
    my adt command like that
    <target name="7. Package for IOS" depends="6 Collect IOS">
                        <echo message="Packaging for IOS"/>
                        <java jar="${ADT}" fork="true" failonerror="true" dir="${publish_dir}/ios">
                                  <arg value="-package"/>
                                  <arg value="-target"/>
                                  <arg value="ipa-test"/>
                                  <arg value="-provisioning-profile"/>
                                  <arg value="${ios_provisioning}"/>
                              <arg value="-storetype"/>
                                  <arg value="pkcs12"/>
                                  <arg value="-keystore"/>
                                  <arg value="${ios_keystore}"/>
                                  <arg value="-storepass"/>
                                  <arg value="${ios_pass}"/>
                                  <arg value="${ipa_file}"/>
                                  <arg value="${app_name}-app.xml"/>
                                  <arg value="Default.png"/>
                                  <arg value="[email protected]"/>
                                  <arg value="Default-Portrait.png"/>
                                  <arg value="[email protected]"/>
                                  <arg value="${assets_dir_name}/." />
                                  <arg value="${swf_file}" />
                                  <arg line="-platformsdk F:/ios/iPhoneOS6.0.sdk/"/>
                        </java>
              </target>
    wating for help, thanks very much

    Could you please share your swf and app.xml, packaging, your project (if possible) at [email protected]
    I will get a bug logged for this.

  • Check in ActionScript if compiled for release-build

    Hi,
    I am looking for a way to check in ActionScript if it is compiled for a release build. I saw the flash.system.Capabilities.isDebugger, but that only detects if the player is a debug-player. What is the way to test this?
    Thank you,
    Andrej

    Hi,
    This question is related to Flash builder. Please post this under "Flash Builder 4 and Flex 4 Labs Archive" forum.
    Thanks

  • Release build and standard packaging doesn't work for iOS mobile project.

    Hi,
    We are trying to port our web application on iOS(iPad). Made some minor changes and package ipa with fast packaging method. It works great.
    Now we are try to package application for AppStore and use Standard method. But error occurs.
         Error occurred while packaging the application:
         Exception in thread "main" java.lang.Error: Unable to find named traits: spark.components::Application
             at adobe.abc.Domain.resolveTypeName(Domain.java:225)
             at adobe.abc.Domain.resolveTypeName(Domain.java:142)
             at adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:272)
             at adobe.abc.GlobalOptimizer$InputAbc.readInstance(GlobalOptimizer.java:994)
             at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:390)
    Distribution certificate and provisioning profile are used for compilation.
    Restarting FB and OS doesn't help. Packaging via command line also throws same error.
    Exporting Release build shows other error. After opening Export Release build window and click next error occur:
         Encountered errors or warnings while building project XXXX.mxml.
         configuration variable 'runtime-shared-library-path' requires a value 'rsl-url'.
    All the libraries are merged into code, not RSL.
    OS: Windows XP SP3, Windows 7.
    Flash Builder: 4.5.1.
    Flex SDK: 4.5.1 build 21328.
    AIR: 2.7.1(2.7 shows erros also).
    Thanks in advance for your answers.

    Hi,
    Please send your swf and app-xml to [email protected] so that we can try it at our end.
    Thanks,
    Amish.

  • FB4 Export Release Build fails

    I am having problems exporting a release build of my application.   Nothing appears to happen when I Project => Export Release Build.
    Any help would be appreciated.
    Below is the stack trace taken from the workspace's .log file:
    !ENTRY org.eclipse.ui 4 0 2010-04-10 12:09:57.919
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NoClassDefFoundError: com/adobe/flexbuilder/exportimport/releaseversion/ui/ExportContentPage$ExportFileChooser$ ExportViewerFilter
        at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportContentPage.createControl(Expo rtContentPage.java:106)
        at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
        at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.createPag eControls(ExportReleaseVersionWizard.java:310)
        at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:675)
        at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:549)
        at org.eclipse.jface.window.Window.create(Window.java:431)
        at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
        at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction$1.run(Export ReleaseVersionAction.java:93)
        at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction.run(ExportRe leaseVersionAction.java:103)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
        at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    Caused by: java.lang.ClassNotFoundException: com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportContentPage$ExportFileChooser$ ExportViewerFilter
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:494)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:105)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 38 more

    I did a little more testing...
    I am using MyEclipse 8.5 as my IDE.  I placed the Flash Builder plugin folder in my MyExclipse profile's 'dropins' folder and restarted MyEclipse.  Everything appears to work as expected except for Project => Export Release Build - as described in my ealier post.
    I have since downloaded and installed the Standalone version of Flash Builder 4.   Using the same workspace and proejcts used in the earlier tests I am able export a release build without a problem.
    Is anyone else have a similiar problem with exporting a release build using Eclipse with the FB4 plugin as I am with MyEclipse?
    Can anyone shead some light as to why I am getting the loop exception using MyEclipse 8.5?
    pwp

  • Release Build FAIL (but debug build works perfectly)

    Hi to all.
    I've a serious problem with making a release build of my project.
    Here the error screenshot:
    The debug build works perfectly
    I searched in the all hard drives for a "bin-release" folder, but it does not exists.
    How i can make a release build?

    Solved!
    Simply i added the following node to <linkedResources> on .project file:
            <link>
                <name>bin-release</name>
                <type>2</type>
                <location>my-realese-directory-path</location>
            </link>
    And the release build gone sucessfully
    Thanks!

  • Flex iPad Application : Run code before application enters background  Application Type: Flex Mobile Application Target Platform: iPad AIR Version: 4.0 Development Environment: Flash builder 4.6  I want to run some code just before iphone application goes

    Application Type: Flex Mobile Application
    Target Platform: iPad
    AIR Version: 4.0
    Development Environment: Flash builder 4.6
    I want to run some code just before iphone application goes into background. I need function similar to didEnterBackground
    of native xcode app
    (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegat e_Protocol/Reference/Reference.h
    tml#//apple_ref/occ/intfm/UIApplicationDelegate/applicationDidEnterBackground:)
    I tried using devactivated function of flash.display.STAGE.
    I used following addEventListener:
    STAGE = this.parent.stage;
    STAGE.addEventListener(Event.DEACTIVATE, onAppDeactivated);
    It worked for me but only when device is connected to development environment in debug mode. When I create my release build
    it is not working.
    So how can I make sure that my code runs before application goes into background.

    Even I am facing almost same issue
    Problem installing Adhoc version to iPhone and iPad - Development Environment Is - Adobe Flash CS6

  • Do I need flash builder 4 to work with the flex sdk?

    Is it necessary to use flash builder 4 to work with the flex sdk?
    Can you build apps just using the open source flex sdk. If so are there tutorials and books on how to do so?
    Thanks in advance for your help.

    No, you don't need Flash Builder to use the Flex SDK. If you download the SDK and unzip it, you'll find a 'bin' directory that has the mxmlc compiler in it. You can compile Actionscript or MXML files using that.
    ./mxmlc MyFlexApp.mxml
    If you are building an AIR application, you will use amxmlc
    ./amxmlc MyAIRFlexApp.mxml
    Then, launch your AIR application using adl
    ./adl.exe MyAIRFlexApp-app.xml
    Hope this helps,
    Joan

  • Flex mobile 4.6 app works inside flash builder but not in android emulator

    Originally posted on stackoverflow: http://stackoverflow.com/questions/8663892/flex-mobile-4-6-app-works-inside-flash-builder- but-not-in-android-emulator
    I have a basic flex mobile 4.6 app and it works fully fine in the flash builder built-in emulator using an android device profile like aria...
    It also launches fine in the android emulator but one particular view shows blank (and this view works fine in flash builder).
    Before I get in to many details of the view are there any categorical gotchas that can be causing this?
    I can't seem to get the trace statements from the app to show in 'adb logcat'. It seems I need to compile a debug version of the apk but I don't know how to do this. I use the 'Export Release Build' from the Project menu in flash builder and it doesn't seem to have an option for debug=true.
    The problematic/blank view basically uses the stagewebview and iotashan's oauth library to call linkedin rest apis... A different (and working) view can make restful web service calls in the emulator fine, so it doesn't seem to be an internet permission.
    The source code contained in the problematic/blank view is almost identical to the tutorial found at:http://www.riagora.com/2011/01/air-and-linkedin/
    The differences are: a) The root tag is a View b) I use StageWebView instead of HtmlContainer c) I use my own linkedin key and tokens.
    I would appreciate it if someone can provide me with some pointers on how to troubleshoot this situation. Perhaps someone can tell me how to debug the app while running in the emulator (I think I need the correct adt command arguments for this which matches the 'Export Release Build' menu but adds the debug param?)
    Thanks for your help in advance.
    Comment Added:
    I suspect that this has to do with connections to https:// api.linkedin.com and https:// www.linkedin.com. The only reason I can think of that the same code is not having issues inside of Flex Builder but indeed having issues in the Android emulator is something to do with certificates. Any ideas?

    Thanks er453r,
    I have created a project that clearly reproduces the bug.  Here are the steps:
    1) Create a UrlLoader and point it to https://www.google.com (HTTPS is important because http works but HTTPS does not)
    2) Load it
    3) Run in Flash Builder 4.6/Air 3.1 and then run in Android emulator.  The former works with an http status 200.  The latter gives you an ioerror 2032.  I am assuming what works in Flash Builder is supposed to work in the Android Emulator and what what works in the emulator is supposed to work in a physical device (plus or minus boundary conditions).
    I see a certificate exception in adb logcat but not sure if it's related...
    Here is the self contained View code which works with a TabbedViewNavigatorApplication:
    <?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"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        xmlns:ns1="*"
                        xmlns:local="*"
                        creationComplete="windowedapplication1_creationCompleteHandler(event) "
                        actionBarVisible="true" tabBarVisible="true">
              <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                                  protected var requestTokenUrl:String = "https://www.google.com";
                                  protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void
                                            var loader:URLLoader = new URLLoader();
                                            loader.addEventListener(ErrorEvent.ERROR, onError);
                                            loader.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
                                            loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
                                            loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpResponseStatusHandler);
                                            loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
                                            var urlRequest:URLRequest = new URLRequest(requestTokenUrl);
                                            loader.load(urlRequest);
                                  protected function requestTokenHandler(event:Event):void
                                  protected function httpResponse(event:HTTPStatusEvent):void
                                            label.text += event.status;
                                            // TODO Auto-generated method stub
                                  private function completeHandler(event:Event):void {
                                            label.text += event.toString();
                                            trace("completeHandler data: " + event.currentTarget.data);
                                  private function openHandler(event:Event):void {
                                            label.text +=  event.toString();
                                            trace("openHandler: " + event);
                                  private function onError(event:ErrorEvent):void {
                                            label.text +=  event.toString();
                                            trace("onError: " + event.type);
                                  private function onAsyncError(event:AsyncErrorEvent):void {
                                            label.text += event.toString();
                                            trace("onAsyncError: " + event);
                                  private function onNetStatus(event:NetStatusEvent):void {
                                            label.text += event.toString();
                                            trace("onNetStatus: " + event);
                                  private function progressHandler(event:ProgressEvent):void {
                                            label.text += event.toString();
                                            trace("progressHandler loaded:" + event.bytesLoaded + " total: " + event.bytesTotal);
                                  private function securityErrorHandler(event:SecurityErrorEvent):void {
                                            label.text +=  event.toString();
                                            trace("securityErrorHandler: " + event);
                                  private function httpStatusHandler(event:HTTPStatusEvent):void {
                                            label.text += event.toString();
                                            //label.text += event.responseHeaders.toString();
                                            trace("httpStatusHandler: " + event);
                                  private function httpResponseStatusHandler(event:HTTPStatusEvent):void {
                                            label.text +=  event.toString();
                                            trace("httpStatusHandler: " + event);
                                  private function ioErrorHandler(event:IOErrorEvent):void {
                                            label.text +=  event.toString();
                                            label.text += event.text;
                                            trace("ioErrorHandler: " + event);
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Label id="label" y="185" width="100%" color="#0A0909" horizontalCenter="0" text=""/>
    </s:View>

Maybe you are looking for

  • HP LaserJet M1536dnf cannot connect to internet but we are able to print wirelessly.

    I connected our HP LaserJet M1536dnf MFP via USB to our Aiport Express...  I was able locate and add it using the Print & Scan function in System Tools (and I am able to print wirelessly) but we cannot scan from our computers or use AirPrint. I pulle

  • Legacy .mac account can no longer be used on AIM

    As of this week, I have lost the ability to use my legacy .mac/MobileMe  account to log into AIM/Adium/Pidigin or like services.  I have had this account since I owned a G3 ibook in 2003.  I have quite a few contacts that I reach exclusively through

  • WRT150N - Very Good Signal with little or no connectivity from wireless computer

    I just hooked up my WRT150N today and have had countless issues with the wireless connection.  Literally only 50 feet away and I was having LOW signal strength and intermittent connection.  After HOURS on phone with tech support, and after downloadin

  • Solaris 10 automount against OpenLDAP server

    Hi ya'll, Another Solaris question that I'm searching around about... I'm using Solaris's native LDAP client on Soalris 10 6/06. My LDAP server is an OpenLDAP server under Fedora Core 5. The Solaris client can talk to the server fine, everything is c

  • How can I save on this code?

    Infact, this code is so long, and I was tried to save on it, but I can't find that way. The code as following: var music0001:URLRequest = new URLRequest("mp3/0001.mp3"); var play0001:Sound = new Sound(); var music0002:URLRequest = new URLRequest("mp3