Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all 1802 articles
Browse latest View live

Problem with Flash Builder 4.6 when debugging native extension for OSX

$
0
0

I think I stumbled upon a bug in Flash Builder 4.6. I'm running FB on OSX 10.7 and I'm building native extension for OSX (AIR 3.1).

 

After successfull creation of my extension's native code .framework file in Xcode, writing Action Script wrapper around it and packaging everything together in ANE file (using adt) I discovered that I couldn't start a debug session from Flash Builder (4.6 and AIR 3.1). Since I was able to test my extension from terminal (using adl), I am pretty sure that I connected all the dots correctly.

 

I discovered that Flash Builder only before starting debug session unpacks the extension's .ane file into some temporary folder, beneath the workspace. Unfortunately, it messes the attributes of unpacked files so aliases are missing (they look like regular files) and main binary inside OSX's .framework package is missing executable attribute. Since those aliases and attributes are essential for things to work on OSX, FB simply fails to find extension and reports error like "ArgumentError: Error #3500: The extension context does not have a method with the name". Somebody else stumbled upon this in following post http://forums.adobe.com/message/3974973 (it seems it's specific to Linux and OSX, but not Windows - no aliasing there, huh?).

 

I would appreciate if somebody from Adobe could check that and verify if that's up to Flash Builder or not.

 

Thanks


Problem setting up Flash Builder to build an ANE

$
0
0

I am a native android developer trying to build an Air Native Extension for some flash developers. I don't know much of anything about flash, flex, AS, or other adobe technologies. The setup of Flash Builder is driving me insane. I followed the advice in Developing and using Adobe AIR native extensions for Android devices | Adobe Developer Connection the best I could (matching SDK versions even if they are old) but I am getting the following error when building the ANESampleTest (Flex Mobile AIR) project:

 

Namespace 3.6 in the application descriptor file should be equal or higher than the minimum version 13.0 required by the Flex SDK


Again, I am NOT an adobe developer. The version 3.6 vs 13.0 is a pretty weird comparison, but I guess 3.6<13.0 and I'm guessing someone in marketing somewhere decided to renumber things. At this point I'm so disoriented by the install, sdk update, and sdk 'overlay' that I have no idea what component is popping this error or where to look for the problem.

 

What does this error mean and what is the next step toward resolving it?  Please treat me like a total noob because I do not know about the difference between flash/flex/air and what their respective versions are.


Thanks! 


<moved from downloading,installing, setting up - kglad>

FlashBuilderC v4.7 returns NoClassDefFoundError: com/adobe/flexbuilder/codemodel/common/CMFactory

$
0
0

We are building FlashBuilder projects as part of continuous integration via ANT scripts. It looks something like this:

 

    <target name="main" description="Build all flex projects">

      <fb.exportReleaseBuild project="ProjectA" destdir="somedir" />

    </target>

 

And a .bat file that runs FlashBuilderC with standard parameters:

 

--launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data %WORKSPACE% -file "buildFlexContents.xml" main

 

So far this has worked great with FlashBuilder 4 and 4.6, but when we updated to 4.7, the following started to happen (parts of the .log file):

 

!SESSION 2014-04-07 13:25:58.288 -----------------------------------------------

eclipse.buildId=M20110909-1335

java.version=1.6.0_31

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

Framework arguments:  -application org.eclipse.ant.core.antRunner -file buildFlexContents.xml main

Command-line arguments:  -os win32 -ws win32 -arch x86_64 -application org.eclipse.ant.core.antRunner -data C:\workspace -file buildFlexContents.xml main

 

 

!ENTRY org.eclipse.core.resources 2 10035 2014-04-07 13:25:59.562

!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

 

 

!ENTRY org.eclipse.osgi 4 0 2014-04-07 13:26:02.478

!MESSAGE An error occurred while automatically activating bundle com.adobe.flexbuilder.codemodel (28).

!STACK 0

org.osgi.framework.BundleException: Exception in com.adobe.flexbuilder.codemodel.CMCoreActivator.start() of bundle com.adobe.flexbuilder.codemodel.

          at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:734)

          at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:6 83)

 

..

 

Caused by: java.lang.NullPointerException

          at com.adobe.flexbuilder.codemodel.internal.bridge.WorkspaceSpecification.getStateLocation(W orkspaceSpecification.java:157)

          at com.adobe.flexbuilder.codemodel.internal.bridge.WorkspaceSpecification.getFileInStateLoca tion(WorkspaceSpecification.java:149)

 

..

 

!ENTRY org.eclipse.osgi 4 0 2014-04-07 13:26:02.482

!MESSAGE An error occurred while automatically activating bundle com.adobe.flexide.codemodel.bridge (100).

!STACK 0

org.osgi.framework.BundleException: Exception in com.adobe.flexide.codemodel.internal.bridge.CMBridgeActivator.start() of bundle com.adobe.flexide.codemodel.bridge.

          at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:734)

          at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:6 83)

          at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

 

...

 

Caused by: java.lang.NoClassDefFoundError: com/adobe/flexbuilder/codemodel/metadata/IMetadataManager

          at com.adobe.flexide.codemodel.internal.bridge.CMBridgeActivator.start(CMBridgeActivator.jav a:50)

          at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:7 11)

          at java.security.AccessController.doPrivileged(Native Method)

          at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:702)

          ... 74 more

Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundExce ption: An error occurred while automatically activating bundle com.adobe.flexbuilder.codemodel (28).

          at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:122)

...

 

 

!ENTRY org.eclipse.osgi 4 0 2014-04-07 13:26:02.742

!MESSAGE Application error

!STACK 1

java.lang.reflect.InvocationTargetException

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

 

 

 

Caused by: buildFlexContents.xml:8: java.lang.NoClassDefFoundError: com/adobe/flexbuilder/codemodel/common/CMFactory

          at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)

          at org.apache.tools.ant.Task.perform(Task.java:348)

          at org.apache.tools.ant.Target.execute(Target.java:390)

 

I have tried recreating the workspace, and changing -vm JDK paths to try with 1.7 to no avail.

 

Funny part about this is, that it works with FlashBuilder.exe (inside the GUI), but not with FlashBuilderC from the commmand line.

 

Any ideas why it can't find this class?

Appending multiple SWF and PDF into one SWF.

$
0
0

Hello,

  I am new to Adobe's suite of tools; could someone make recommendation on which software to use for appending multiple SWF and PDF into one SWF.

For this case I would like each to run sequentially, not layered.

 

Thanks in advance,

   Mike

installation

$
0
0

I ave downloaded Flash Builder but the application will not start. It shows to be completely installed on the creative cloud menu. I have tried redownloading it but to no avail. I am fully licensed but have been completely unable to use the application.

Cannot download AES plugins for Adobe Flash Builder CS6 v 4.6

$
0
0

I have Adobe Flash Builder CS6 version 4.6 on my Mac and it start and run fine

 

 

I try to download AES 4.5 plug-in for Flash Builder 4.6 from the Help-Software Update menu.

 

Most plug ins were successfully downloaded and installed, except one from Adobe (AES plugin 4.5)

 

 

I come across an error dialog that read: Problem Occurred: Contacting Software Sites has encountered a problem. and: No repository found at http://aesplugins.adobe.com/aes/tooling/plugin/10.0

 

 

I have tried to use web browser to go to the address above directly and the result is:

 

 

Object not found!

 

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

 

 

If you think this is a server error, please contact the webmaster.

 

 

Error 404

 

aesplugins.adobe.com

 

Apache

 

 

Help please. How can i fix this problem.

 

 

Regards

 

Sanchai Thiewprasertkul

 

Bangkok, Thailand

 

"Could not create the view" error

$
0
0

Hey everyone,

 

I'm new to Flash Builder and have been following a tutorial video to learn the basics. Today, when I tried to access my project, this error appeared in the Package Explorer:

 

Could not create the view: Plug-in "com.adobe.flexbuilder.as.editor" was unable to instantiate class "com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorer".

 

I also can't seem to create a new Flex project. If I try to, I can never click Finish. The button just remains faded out.

 

Below are the details on the package explorer error.

 

Any help would be much appreciated.

 

Thanks.

 

java.lang.NoClassDefFoundError: com/adobe/flexbuilder/codemodel/common/CMFactory
    at com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorer.<init>(FlexPackage Explorer.java:263)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(Re gistryStrategyOSGI.java:170)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionR egistry.java:874)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(Configu rationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(C onfigurationElementHandle.java:51)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:267)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:263)
    at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:63)
    at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:324)
    at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:226)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4212)
    at org.eclipse.ui.internal.WorkbenchPage$18.runWithException(WorkbenchPage.java:3271)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
    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 com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :109)
    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(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundExce ption: An error occurred while automatically activating bundle com.adobe.flexbuilder.codemodel (16).
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:125)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :449)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:211)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:3 3)
    at org.eclipse.osgi.internal.loader.MultiSourcePackage.loadClass(MultiSourcePackage.java:31)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
    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(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 51 more
Caused by: org.osgi.framework.BundleException: Exception in com.adobe.flexbuilder.codemodel.internal.bridge.CMBridge.start() of bundle com.adobe.flexbuilder.codemodel.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:806)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:7 55)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:111)
    ... 62 more
Caused by: java.nio.channels.OverlappingFileLockException
    at sun.nio.ch.FileChannelImpl$SharedFileLockTable.checkList(Unknown Source)
    at sun.nio.ch.FileChannelImpl$SharedFileLockTable.add(Unknown Source)
    at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
    at java.nio.channels.FileChannel.tryLock(Unknown Source)
    at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:246)
    at org.apache.lucene.store.NativeFSLockFactory.acquireTestLock(NativeFSLockFactory.java:79)
    at org.apache.lucene.store.NativeFSLockFactory.setLockDir(NativeFSLockFactory.java:139)
    at org.apache.lucene.store.NativeFSLockFactory.<init>(NativeFSLockFactory.java:117)
    at com.adobe.flexbuilder.codemodel.internal.common.AbstractTextDatabase.start(AbstractTextDa tabase.java:111)
    at com.adobe.flexbuilder.codemodel.internal.search.ASSearchDataProvider.<init>(ASSearchDataP rovider.java:43)
    at com.adobe.flexbuilder.codemodel.internal.search.ASProviderFactory.createDataProvider(ASPr oviderFactory.java:47)
    at com.adobe.flexbuilder.codemodel.internal.search.SearchIndexManager.addISearchDataProvider dFactory(SearchIndexManager.java:70)
    at com.adobe.flexbuilder.codemodel.internal.CMCoreActivator.activate(CMCoreActivator.java:19 9)
    at com.adobe.flexbuilder.codemodel.internal.bridge.CMBridge.start(CMBridge.java:77)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:7 83)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:774)
    ... 67 more

Please vote to fix H.264 + Stage3D support on mobile!


File chooser defaults to null folder and intermittently crashes flash builder

$
0
0

I am a new Flash Builder user working on an ANE. I just setup builder on my mac (Mavericks) so it is version 4.7 with all the latest stuff. I am able to use builder mostly ok, but it is crashing frequently. By crashing I mean shutting down and asking me to send a crash report to adobe. The problem appears to be path related.

 

Whenever I need to select a file, the open... dialog appears to default to a null/empty folder name. It sits there in the open dialog with a spinning progress indicator and crashes ~50% of the time. No idea why it is 50% instead of 0% or 100% as the same procedure gives me different results each time I try.

 

Example:

Right click project->Properties->Flex Build Path->Native Extensions->Add ANE...->Browse   results in the attached dialog with an empty/null folder selected and the progress indicator spinning at the bottom next to New Folder.

fb.png

I have looked through all the settings I can find and I haven't found anywhere that has a default folder I can change.

 

The blank folder is just an annoyance, but the intermittent crashing is really frustrating. Anyone else have this problem? Suggestions for a fix/workaround?

Spark datagrid - Horizontal scroll won't work

$
0
0

I have been unabled to get my full datagrid to scroll on a mobile device. I know they are not optimized for mobile but everything else seems to work ok.

 

I have the scroll setting enabled: horizontalScrollPolicy="on"

 

This still does not enable my grid to scroll even through the data is there and I can statically set the position and see the different position on the grid.

The title bar scrolls then snaps back when I take my finger off the screen.

 

Any suggestions?

Hi about gaming?!

$
0
0

I just wonder whats best for us developer gaming people from Adobe?

How do I access xml data

$
0
0

Good Day All

 

I have retrieved data from a server i.e. it is an XML document. The document looks like this:

 

<?xml version="1.0" encoding="UTF-8"?>

-<results>

     -<status code="invalid">

          <no-access user-id="7300" account-id="7"/>

     </status>

</results>

 

What would the code look like?

 

Is this correct? accountId=event.result.common.account.@["account-id"]; In my code I can access account-id but if I use the same code I cannot access user-id i.e. accountId=event.result.common.account.@["user-id"]; does not work


Or how do you access code?


Obviously I am doing something wrong. Can you help me out or send me to documentation that can explain this for me?


Thank you


Dimitri

Invalid Binary

$
0
0

Hi!

 

I've created an application for iPad with Flash Builder 4.5.1. Following the Guide for Apple App Store submissions (http://www.adobe.com/devnet/flash/articles/app_store_guide.html) I've packed the application and send it to iTunes Connect. Now the status of my application is "Invalid Binary". And there's no comments what the problem is.

 

How can I find the problem with the binary and solve it?

 

Thank you in advance for any help.

 

Olga

Error of compilation for IOS: Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

$
0
0

Error of compilation for an IOS project:

 

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

at adobe.abc.Algorithms$SetMap.get(Algorithms.java:226)

at adobe.abc.Algorithms$ExprWorkQueue.add(Algorithms.java:491)

at adobe.abc.Algorithms$ExprWorkQueue.addAll(Algorithms.java:524)

at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:6007)

at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4733)

at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3615)

at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2309)

at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:534)

at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:343)

at com.adobe.air.ipa.GOAOTCompiler.convertAbcToLlvmBitcodeImpl(GOAOTCompiler.java:243)

at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:85)

Compilation failed while executing : ADT


We allocate 4GB of memory for the compilator and the results is the same. The build is very long (~5 min)

compiling flowplayer

$
0
0

Has anyone ever compiled their own custom flowplayer with this program?


Upgrading Flex 3.2 -> 4.5: Using swf file as styles

$
0
0

Hello,  I am in the middle of effort to upgrade our product, which is built using Flex 3.2 SDK, to a new version using Flex 4.5 SDK.

With the upgrade, Flex 4.5 SDK, all functionality work as intended, except I cannot get the custom styles, which is a swf file to load.

 

With Flex 3.2, in the main.mxml, I used something like:

StyleManager.loadStyleDeclarations(Application.application.parameters.styleURL);

 

where styleURL points to the location of my swf file.

I have tried using: styleManager.loadStyleDeclaration, I've used FlexGlobals.topLevelApplication

and other various things but it never seems to work.

 

One thing I have not yet tried is modifying the css file inside the swf file and re-building the swf file

but I would like to avoid that if possible, since it seems like we are missing several files (png files etc)

and for whatever reason, I cannot compile this particular css file to swf using the flash builder.

help?

multiple release build folders in one project

$
0
0

... all have different directories; one leads to a directory, but nothing else; I fear it slows down the compiling process, can I delete some of the folders?; especially the one that leads to the main directory with tons of subfolders; is this the reason why "Export FlexProject" does not work? thanks

(I am very much a novice, not a programmer, no experience with scripting, this is an "out of the box" project)

Flash Builder 4.7 Freezing and It appears that Flash Builder 4.7 has memory leaks so please suggest asap

$
0
0

Hi,

 

We are facing this issue in 4.7 as 4.6 version is working absolutely fine, so please look into this asap

Flash Builder v4.6 App Stops Working on Nexus 7 Upgraded to 4.2.2

$
0
0

I just bought a Asus Nexus 7 32GB tablet and installed a Flash Builder v4.6 app that I've been working on and everything was working great.  Then I saw there were OS upgrades, so I updated to 4.2.1 and the app worked just fine.  Then I saw that another upgrade was available, so I installed 4.2.2 and my app stopped working.  When launched it throws up the message "Unfortunately, App XXX has stopped".  I didn't change anything.  I even tried uninstalling it and re-installing the app it will throw up the same error.  I've searched the web and found people had to perform a factory reset to get their apps working again, but I don't want to do this.  I want to determine what is going on, but I have no way to tell.  The app has been downloaded from my website and installed.  I don't want to hook the Nexus up to my PC yet and try running a debug version of the app or change anything until I know what is happening.  I've got another user testing my app on their Samsung Galaxy and a Nexus 7 as well and they are getting the same error.  Any ideas as to why this might be happening?

 

On a side note I have my app working on a Motorola Droid RAZR M and an iPhone 4 without issues.  It seems to be related to v4.2.2 of Jellybean.

 

Update 12:59pm 05/17/2014:

 

I was able to generate a bug report on the Nexus and it comes down to a Java issue:

 

05-17 12:17:35.226  5527  5527 E AndroidRuntime: Process: air.com.cybertechsolutions.TdyneOCSmartPhoneApp, PID: 5527

05-17 12:17:35.226  5527  5527 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Native method not found: com.adobe.air.AIRWindowSurfaceView.nativeOnFormatChangeListener:(I)V

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at com.adobe.air.AIRWindowSurfaceView.nativeOnFormatChangeListener(Native Method)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at com.adobe.air.AIRWindowSurfaceView.surfaceChanged(AIRWindowSurfaceView.java:683)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.SurfaceView.updateWindow(SurfaceView.java:583)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.SurfaceView.access$000(SurfaceView.java:86)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:175)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1871)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.Choreographer.doCallbacks(Choreographer.java:574)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.Choreographer.doFrame(Choreographer.java:544)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.os.Handler.handleCallback(Handler.java:733)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:95)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.os.Looper.loop(Looper.java:136)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:5017)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at java.lang.reflect.Method.invokeNative(Native Method)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at java.lang.reflect.Method.invoke(Method.java:515)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

05-17 12:17:35.226  5527  5527 E AndroidRuntime:     at dalvik.system.NativeStart.main(Native Method)

 

It looks like v4.2.2 doesn't support this method any more so how do I get it to work?

Unit test: Want to run test case after async test function?

$
0
0

Hi,

On flash builder i decide to do unit test for my .as class. I did few unit test. Working fine. But now i want to write unit test for the following case:

 

  1. I wrote a [Test(async)]  function to find the loading class working fine or not.Its working fine.
  2. On load complete i am able to read the data and store the data on the test class variables.
  3. I want to run all other [Test] case function after completion of the xml load function.How to do that?

 

 

Thanks,

Siva

Viewing all 1802 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>