Flash Builder 4.5: debugging Flex Mobile application on Android Virtual Device

Hi,
we are trying without success to debug a flex mobile application in Flash Builder 4.5 on an Android Virtual Device (AVD).
We can debug with real Android devices via Flash Builder 4.5, by using a standard Mobile Application debug configuration with "On device" launch method, but emulated devices are not listed in the "Choose device" Flash Builder 4.5 window.
The emulated device is correctly listed by "adb" command line tool, as the following screenshot shows:
c:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\lib\android\bin\adb" devices
List of devices attached
emulator-5554   device
("emulator-5554" has been created and started with Android AVD Manager standard Eclipse plug-in)
By using the adb command-line tool we can also install applications on the emulated device, but we'd like to use Flash Builder 4.5 directly, without manually using adb.
Many thanks in advance for any direction.
PS: we can debug with Flash Builder "internal" android emulator (the one used with "On desktop" launch method), but we want to use the more "realistics" android emulated devices provided by Android SDK (Android Virtual Device (AVD)).

well that's just ... oh what's the word I'm looking for? ... um ... ah yes - inconvenient.
I've been wrestling with this too. I use VDs with eclipse all the time, I'm wondering why it's not supported in flashbuilder. I mean, it's just a VD that runs on a virtual port, plugs into the editor like a read device would - right?
I'm going to take a wild stab at this and say it probably has something to do with running a program inside (Air) a virtual machine, running inside a virtual machine inside a virtual device?

Similar Messages

  • Flash Builder will not debug app with .ane on Android Device

    Hello ,
    I'm having a big issue with the overall stability of Flash Builder 4.7 on my Mac (OS X 10.7.5)
    I developped an extension on FB 4.6 for iOS and Android and it was  working good. In the meantime I updated to 4.7, and since then I keep on running in to lots of problems when debuggin or compiling.
    Now my extension needs to be extended, and suddenly the complete project stopped, because debugger refuses working on android devices.
    The error I get is:
    An internal error occurred during: "Launching MyAppWithExtension".
    java.lang.NullPointerException
    at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.retainExtensionIds(AppXMLFileANEExtensionHandler.java:309)
    at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging(ANEController.java:360)
    at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging(ANEController.java:326)
    at com.adobe.flexbuilder.project.ui.utils.ANE.AbstractANEPackageHandler.modifyAppXMLforPackaging(AbstractANEPackageHandler.java:86)
    at com.adobe.flexide.launching.multiplatform.launchhandlers.AbstractMultiPlatformLaunchHandler.handleANEPackagingDetails(AbstractMultiPlatformLaunchHandler.java:195)
    at com.adobe.flexide.launching.multiplatform.launchhandlers.AbstractMultiPlatformLaunchHandler.applyPackagingDetails(AbstractMultiPlatformLaunchHandler.java:168)
    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.initialisePackager(ADBLaunchHandler.java:533)
    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.doPackage(ADBLaunchHandler.java:409)
    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.launch(ADBLaunchHandler.java:350)
    at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate.launch(MultiPlatformLaunchDelegate.java:184)
    at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate.java:244)
    at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate.java:134)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Session Data:
    eclipse.buildId=M20110909-1335
    java.version=1.6.0_51
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
    Framework arguments:  -keyring /Users/myusername/.eclipse_keyring -showlocation
    Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/myusername/.eclipse_keyring -consoleLog -showlocation
    This is a continuation of log file /Users/myusername/PathToMy/Workspaces/MyAppWithExtension/.metadata/.bak_0.log
    Created Time: 2013-07-24 11:43:14.053
    What I tried so far:
    - Creating new workspace
    - Running Flash Builder with -clean parameter at startup
    - Reinistalling Flash Builder using Adobe Clean Tool
    - Stripping all metadata from the project (keeping only the source files) and make a complete new project setup.
    All to no avail.
    There's a good chance, I have a problem in my .ane code, but how am I supposed to find out, if debugger isn't working?
    BTW, I can make an release build of the project, but it hangs after the splash screen. I don't know, if it's a build or coding error, though.
    Ironically, I convinced my my employer to update FB to 4.7 due to the advanced iOS debugging features, but now I already spent about 10 times more working hours in finding workarounds to debugging / compiling issues than these features will ever be able to save me.
    Maybe anybody here has an idea on how to solve this issue ?

    Ok, this is an old post but i still needed a couple of hours to find a solution, so here we go:
    - Most likely you have TWO executable build targets in your project (two mxml that you can launch). If so, go to the Project settings > Flex Applications and remove the one you don't need so you only have one.
    - My case was a bit complex though - i was using an ANE and Coldfucion server. In this case change the Output folder in the Project Properties > Flex Server > Output folder to something like "temp" instead of "C:..." generated by Flex Builder. The Android device gets confused by a "C:" reference but still can understand a local "temp" folder
    I hope i have saved your day

  • Locking The Orientation Of The Flex Mobile Application on Android Device

    Hi all,
              I have developed an application using Adobe Flash Builder Burrito and installed it on my android device,Samsung Galaxy Tab.
    I want to lock the orientation of my application to landscape even when the device is in portrait position.
    Can anyone of you help me to implement this.
    Thanks.
    Sujata Jha.

    When you create a new mobile project (actionscript or flex) it asks if you want it to auto-orient. This setting can be edited for existing projects in [project name]-app.xml.
    What I can't figure out is how to fix the application in landscape mode, as it seems to default to portrait.I could rotate the content myself, but the I'd have to convert screen events and previewing on the desktop would mean a lot of head twisting. Anyone know how to do this?
    -Gabriel
    Can you get Rasputin Rabbit back in the hat? Play Houdini's Hat (made with Away3D):
    http://www.pizmogames.com/games/load.php?g=houdinishat

  • Issues with file upload in flex mobile application (sharepoint as backend)

    Hello,
    I am working on flex mobile application for android platform for which we are having sharepoint as a backend.
    (Flex SDK 4.6 and AIR 3.9)
    Issue which we are facing is as follows:
    We are communicating with the backend server using webservices: example:
    <s:WebService id="kWebService" wsdl="http://www.kservice.net/kdatabaseservice.asmx?WSDL" >
                <s:operation name="AddPost"
                             resultFormat="object"
                             result="addPostResult(event)"
                             fault="postsfaulterr(event)" />
    </s:WebService>
    Above services are working fine but we are facing issue with one service which is related to file upload.
    File upload for <10 MB is working fine but when we try to upload larger file on server it fails to process.
    We are sending bytearray to the backend and backend code is writing those bytearray into file.
    We have tried many ways to overcome from this situation. like we have checked configuration for file upload size on server , we have tried wcf services as well. Please help us on this criticle point as soon as possible
    Thanks
    Dhwani

    Prashant8809 wrote:
    Hi
    >
    > I have already gone through the video by Thomas Jung for multiple file upload but it saves the contents in server and not in >transparent table. So please suggest me alternative solutions.
    >
    >
    > Regards
    > Prashant Chauhan
    What do you mean that my video saves the contents int he server and not in transparent table?  I save the data into a temporary database table so it can be accessed by the parent WDA session. From there the WDA session can do whatever it wants with it.  What do you mean by transparent table - that would be a database table. Do you actually mean internal table?  if so, just read the data from the temporary database table into memory.

  • 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

  • Transforming a flash application to flex mobile application

    Hello everybody, I have been tried of transfom this flash application
    http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-clas ses-and-getpixel/
    to flex mobile application, but I have many errors with the components. Also when I try to load image, on the flash builder the image, we can see the image loaded but when I try run on virtual device, the image can´t views.
    I ask help...Thanks

    try searching for Java NT service string on google and u will come out with many solutions.....
    hope this is the best answer... i can give u.....

  • Flash Builder Error Compiling Ipad Actionscript Mobile Project.

    I just bought a brand new ipad for testing. I am using flash buider 4.7 to make an actionscript mobile project. I created an app ID, provisioning profile, and certificate. I have done this before in flash professional so it wasn't too bad. However, when I run or debug  even a blank application I get this error in flash builder:
    Error occurred while packaging the application:
    'Launching AppName' has encountered a problem.
    Error occurred while packaging the application.
    Exception in thread "main" java.lang.Error: Unable to find llvm JNI lib in:
    /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/adt.jar/Darwin
    /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/x64
    /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/adt.jar
    /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib
                    at adobe.abc.LLVMEmitter.loadJNI(LLVMEmitter.java:582)
                    at adobe.abc.LLVMEmitter.<clinit>(LLVMEmitter.java:596)
                    at com.adobe.air.ipa.AOTCompiler.generateExtensionsGlue(AOTCompiler.java:419)
                    at com.adobe.air.ipa.AOTCompiler.generateMachineBinaries(AOTCompiler.java:1790)
                    at com.adobe.air.ipa.IPAOutputStream.createIosBinary(IPAOutputStream.java:378)
                    at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:762)
                    at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:91)
                    at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:245)
                    at com.adobe.air.ADT.parseArgsAndGo(ADT.java:571)
                    at com.adobe.air.ADT.run(ADT.java:419)
                    at com.adobe.air.ADT.main(ADT.java:469)
    I have no idea where to even start in trying to figure out what could be the problem. I am pretty sure the itunes developer information is correct. Are there any kinds of drivers or developer modes that I need to set for a new iPad?
    Thanks!

    Thanks Shongrunden for your reply.
    Yes, you are right. If I make a new Flex mobile project, I did not see the issue.
    But that did not fully answer my question, my concern is: can an actionscript project use spark components?
    Thanks.

  • Flex Mobile Application with online database

    Hi,
    I would like to create a Flex Mobile Application but this one have to be read/connect  to a online database ?
    I don't found any tuto or infos about that...
    Could you please tell me if it's possible and if yes, how to do that
    Thanks in advance !

    I don't understand one thing...
    There are different type to do a connection between Flex and PHP.
    Which one is the best ?
    1. With AMF (Flex :  service-config.xml, RemoteObject) (http://www.adobe.com/devnet/flex/articles/crud_flex_php_zend.html)
    2. With Zend Framework (Flex : Callresponder, Time,...)  already included in Flash Builder 4.5 (http://devzone.zend.com/1701/flex-and-zend-framework_part-1/)
    3. With Zend Server and Flash Builder 4.5 with PHP (http://www.adobe.com/devnet/flash-builder/articles/flashbuilder-php-part1.html)
    It's three differents approach but in 2 & 3, it's auto configured with Flex.. however to do a connection between Flex Mobile & PHP (online), I have to use the solution 1
    So, if somebody can help me to explain and understand the difference between that.
    thanks

  • Tutorial for Developing Flex Mobile applications.

    Hello all,
                 Can anyone provide me Tutorials to devleop  Flex Mobile applications which access data from SAP Netweaver Gateway via Flash Builder Plugin?
    Thanks

    This is not a product forum... do you need the flash builder forum?
    How to Select a Forum http://forums.adobe.com/docs/DOC-1015

  • Is there a way to save data to just one view in Flex Mobile applications?

    I am having trouble handling data between views in a Flex Mobile application that I am writing. I know how to pass data from one view to another, but I was wondering if there is a way to save that data to a view, then get more data from another view (in this case it would be the same view that the original data came from) and put that data on the same view without overwriting the original data. I would be glad to post some code if anyone needs to see it.

    I think we realise that this is the same question as the other thread.

  • What is the best font to use for Thai Language in Flex Mobile Applications ?

    Hi
    I am facing issues with Thai language in flex mobile applications. I am using Tahoma font and facing issues in TextInput
    Whith Tahoma font text Offset setting to far from the starting of the text input .
    Can any one suggest me the best font to use with Thai language ?
    Many thanks in advance for your help .
    Regards,
    Kamal

    Personally, I prefer uncompressed TIFF or PNG.  But many times it won't matter ... you'll be dropping the images into an SD Sequence, so they will lose resolution on output.
    -DH

  • Save data while closing Flex mobile application using HTTPService

    On close of the Flex mobile application I need to save some information to the back-end by using HTTPService.
    On creationComplete() of the application I am adding :
    NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExit);
    On close of the mob application, the following method will get call.
    private function onExit(e:Event):void
        httpServiceCall("log event data");
    The request itself is not reaching backend. I have tested this by installing Wireshark, there is no entry if I close the application in wireshark(wireshark will just catch any kind of requests from frontend to backend).
    I am introducing delay to achieve this :
    public var closeTimer:Timer;
                private function onExit(e:Event):void
                    e.stopImmediatePropagation();
                   httpServiceCall("log event data");
                    closeTimer = new Timer(3000,1);
                    closeTimer.addEventListener(TimerEvent.TIMER_COMPLETE, closeApp);
                    closeTimer.start();
                protected function closeApp(event:Event):void{
                    NativeApplication.nativeApplication.exit();
    The above code is not working. As soon as control comes to onExit() method, application is closing.
    According to my understanding, I have to introducesome delay before closing the application to achieve this requirement. How can I introduce delay in this case?

    Try opening Task Monitor and killing any existing "adl" process before launching.
    Does this help ?

  • When will flash builder support export to Windows Mobile OS?

    When will flash builder support export to Windows Mobile OS?

    I think maybe VB was confused by you calling it "Windows Mobile," as Windows Mobile is MS's obsolete, abandoned Mobile OS for pre-iPhone era with a stylus and all that, I am assuming you probably meant "Windows Phone" / Windows 8 Metro UI / Windows RT, the new iPhone-like MS Mobile OS.
    See this thread: http://forums.adobe.com/message/4526684#4526684

  • I have flash builder 4 and want to start developing for android

    I have flash builder 4 and want to start developing for android. I don't want to buy flash cs5 or device central or buy a android phone.
    I just want to test an app for it.
    What are my options?
    should I wait?
    Are adobe going to milk me to for to get any productivity going here?

    When trying to install ADT im getting
    Cannot complete the install because one or more required items could not be found.
      Software being installed: Android Development Tools 0.9.7.v201005071157-36220 (com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220)
      Missing requirement: Android Development Tools 0.9.7.v201005071157-36220 (com.android.ide.eclipse.adt.feature.group 0.9.7.v201005071157-36220) requires 'org.eclipse.jdt.junit.runtime 0.0.0' but it could not be found
    why must I install the JDT?

  • I get some trouble exporting  mobile  application with Android Adobe Flash Builder Burrito

    Hi, eveybody.
    I make a simple mobile application with Adobe Flash Builder Burrito, and it works well on windows.
    Then I want to export it as a .apk and install on android emulator. But I failed. I got some messages as follow:
    E:\android\a\android-sdk-windows\platform-tools>adb install Twitter.apk
    594 KB/s (875316 bytes in 1.437s)
            pkg: /data/local/tmp/Twitter.apk
    Failure [INSTALL_FAILED_INVALID_APK]
    Then, I download the AdobeAIRSDK2.6, unzip, and copy the files to the sdk(D:\Program Files\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0).
    I change <application xmlns=http://ns.adobe.com/air/application/2.5> to <application xmlns="http://ns.adobe.com/air/application/2.6">.
    Then It can't export it as a .apk...
    Thanks!

    Thanks.
    But why I can't export a .apk as I update the sdk to air2.6?

Maybe you are looking for

  • Tracking the component changes - Open work order

    Hi We have been using special work order type, it is an open work orders. Was created for adding the small consumable and do the time writing for small jobs. The users are instructed to use only for consumable material and time writing job. But how e

  • Block FI Document by default

    Hi, I want to every FI document posted by FB01 be blocked for payment by default, except a given document type. Can anyone tell me how ca i do this in costumizing ? Best regards, Paulo

  • Stuck with Spreadsheet

    Okay, here's the scenario if I can describe it well... I have a "Leader Board" spreadsheet with information about each athlete, and tables that sort the data according to several different parameters. I want to be able to sort the data using several

  • Updated 3GS to iso 5 but no edit button on contacts, so can't delete. Any clues plz?

    Updated 3GS to iso 5 but no edit button on contacts, so can't delete. Any clues plz?

  • Upgraded to Windows 8.1 & now I have no audio. Please help!

    I have reviewed similar posts & followed links to download driver's, but nothing has solved my problem. Even doing a restore to 3 days ago does not bring my audio back. Audio was completely fine until I installed 8.1 windows.....  A big red X where t