Flex mobile project - ant build issue

Hi,
I am getting an error when i compile my mobile project with ant build script. "Could not resolve <s:ViewNavigatorApplication> to a component implementation." But, I am using the same build file to build a simple helloworld mobile project which works fine.
<mxmlc
   file="${main_class}"
   output="${output_loc}"
   locale="${LOCALE}"
   static-rsls="false"
   accessible="false"
   configname="airmobile"
   debug="${debug_mode}"
   failonerror="true"
   fork="true"
   maxmemory="512m">
   <source-path path-element="${class_path}"/>
   <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
       <include name="libs/*"/>
      </compiler.library-path>
   <library-path dir="${FLEX_HOME}/frameworks/locale/${LOCALE}" append="true"/>
      <library-path dir="${lib_path}" includes="*.swc" append="true"/>
   <external-library-path file="${AIR_GLOBAL}" append="true"/>
   <compiler.library-path dir="D:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/MobilityServer/WEB-INF/flex/libs/air" includes="airfds.swc" append="true"/>
      <compiler.library-path dir="D:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/MobilityServer/WEB-INF/flex/libs" includes="fds.swc" append="true"/>
      <compiler.library-path dir="D:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/MobilityServer/WEB-INF/flex/libs" includes="fiber.swc" append="true"/>
   <compiler.library-path dir="C:/Perforce/mobility/main/NextGen/client/libraries/external/robotlegs/1.4.0/bin" includes="robotlegs-framework-v1.4.0.swc" append="true"/>
   <compiler.library-path dir="C:/Perforce/mobility/main/NextGen/client/libraries/CommonMobileLibrary/bin" includes="CommonMobile.swc" append="true"/>
   <compiler.library-path dir="C:/Perforce/mobility/main/NextGen/client/libraries/NativeMobileLibrary/bin" includes="ASNativeLibrary.swc" append="true"/>  </mxmlc>
Message was edited by: betheflexcoder

Sounds like you are missing mobilecomponents.swc

Similar Messages

  • Open PDF with Flex Mobile Project

    I want to be able to read PDFs inside a Flex Mobile Project (I'm working with Flash Builder 4.6 and Android and iPad).
    I've tried successfully stagewebview to load a pdf from a web server with this:
    webView = new StageWebView();  webView.loadURL("http://<url>/Paper.pdf");  webView.viewPort = new Rectangle(0, 100,this.stage.stageWidth, this.stage.stageHeight); webView.stage = this.stage;
    But what I really want it's something more visual. I mean, where you can create a flip book, go to page X, or similar. Something like this: http://devaldi.com/zine/NZ_Tourism_2007.php?ro=flash,html
    I've already tried FlexPaper, but Zine doesn't work on Flex Mobile Project.
    Do you know if there is something to do this? or how can I do this?
    Is there any native-extension or something?
    Thanks in advance

    Thanks Keith, I'll have a look at that. In addition to opening a PDF, I want to be able to encode an anchor id in to the open command to jump a specific anchor; I'd concluded that on iOS, until Adobe add decent url-scheme support, that was a no go - so I've been staring down the barrel of converting the .pdf to HTML and tidying up the inevitable issues manually. Here's hoping Print2Flash will help avoid that!

  • Incompatible signature after creating a new Flex mobile project in Flashbuilder 4.6

    When I create a new flex mobile project and try to build it right away it gives me this error
    1144: Interface method initialize in namespace mx.core:IUIComponent is implemented with an incompatible signature in class utest.
    I have tried reinstalling Flash Builder and even upgraded from 4.5 to 4.6 to try and resolve this problem.
    I have also tried using different versions of the Adobe Air sdk (I'm currently using Air 3.4).
    Here is the projects mxml file, if that helps although it doesnt have anything but the generated code.
    utest.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark"
                                firstView="views.utestHomeView" applicationDPI="160">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    </s:ViewNavigatorApplication>
    views.utestHomeView.mxml
    <?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" title="HomeView">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    </s:View>
    Also I am running Flash Builder 4.6 on Windows 7 32-bit
    Thanks in advance for the help
    Edit:
    I have now tried the flash builder 4.7 trial and even 4.6 on a different machine, both were clean installs, and I have found that when i create a new project it does compile
    until I get an error, and this can be any error, then after I fix that error it gives me the same error as before
    1144: Interface method initialize in namespace mx.core:IUIComponent is implemented with an incompatible signature in class utest.

    Hi Gsaison,
    Do you have any progress on these issues? Im working on the same solution right now (SWV + GoogleMaps JS v3 ) I've got some weird issue when i try to spawn a StageWebView inside a View on IOS, it appears inside a scroller and is not open for finger interaction anymore. I use the eskimo framework, but then again, nothing fancy going on there for the rest. I've tried all of the the stage.stageScaleMode options but non of them work. Got any help?
    Kind regards,
    Roy

  • Can't convert Flex Mobile project to desktop project

    I'm using the Flash Builder 4.6 trial, and I'm very new to flex development. I've been asked to convert an existing Flex Mobile project (appears to have been developed in Flash Builder 4.5) into an AIR desktop app.
    The project imported without complaint. However, the Add/Change Project Type > Convert to Flex Desktop Project menu item is disabled.
    I created a blank Flex Mobile project, then a blank Flex web project, then a blank ActionScript project. It's greyed out for those, too. I checked with the projects closed and open; the rest of the items on that submenu are enabled for all projects when closed.
    Is this feature disabled in the trial version?  Is something else going on?

    Clearly the device from verizon works, I would try to contact a computer tech to repair your computer
    Really it should be as simple as turn on, connect, go. If it isn't there is a break down somewhere in that computer
    What error msg?

  • Flex Mobile Project unable to run on android device

    Hi,
    I Have created basic flex mobile project using flash builder and i could able to run on desk top, but while running the same on device i am getting force close exception also dint get any error log. i am using samsung galaxy pop GT-S5570 as my testing device. i have configured usb driver and enabled usb debugging in  my device too. any help to resolve this process?

    08:20:45.751 Raw device 'sd=sd1,lun=/dev/rdsk/c3t5000CCA03EC50D5Dd0s0' does not exist, or no permissions.
    Looks like either your lun doesnt exist  OR you running vdbnech session not as root.
    (Only a guess )

  • Is there a way to use Stage3D in Flex Mobile projects on iPad?

    When I create a project of type "Action Script Mobile Project" the Stage3D works on iPad, Android device and in the AIR desktop simulator.
    But when I create a project of type "Flex Mobile Project" it works in the desktop simulator and on Android device but does not work on iPad.
    When running on iPad the stage.stage3Ds[] collection is empty.
    Is it a sort of limitation made by intent? Or a bug? Or maybe I am doing something wrong?
    What I actually need is an ability to render offscreen bitmaps with GPU in an application that uses Spark UI. This is why I need Flex Mobile project.
    My configuration is the following:
    iPad with retina display
    Sony Xperia Tablet Z
    AIR SDK 3.7 (and I have also tried AIR SDK 3.8 today)

    Hi,
    Check this thread, discussing the similar issue
    Re: What video format that is compatible with Muse

  • Flex Mobile project scaling with Retina display iPad (3rd gen).

    Adobe et al,
    With the new iPad 3 we now have a ton more pixels to utilize. I'm familiar with and have already successfully tested the AIR 3.1+ commandline compiler option (-platformsdk) to get Retina display on the new iPad. In ActionScript mobile projects the content is rendered beautifully on the new iPad. But with Flex Mobile projects, something is happening that causes it to render incorrectly. It's retina display alright, but the size is way too small.
    Below is an image WITHOUT the -platformsdk build tag, that causes the app to be pixel doubled to fit on the new iPad:
    Notice that it's scaled proportionally, even though the text and components are slightly pixelated. Not a big deal, but noticeable on the device.
    This image is taken with the app rendering in Retina display (setting the -platformsdk pointing to iOS 5.1 SDK):
    As you can see, the text/components are rendered really clear, but the scale is way off. Obviously it's getting the width of 2048x1536 from the device, but it's way too small.
    How do I fix this? I've tried changing the applicationDPI, but it doesn't fix it. Setting a width/height of 1024x768 does nothing either. It seems we need to overrride a behavior that causes it to fit everything in so small.
    A little help?
    Thanks,
    iBrent

    Alright, kevinkorngut's answer was the right one. It appears that even though AIR 3.x can render high resolution apps, it still returns the incorrect DPI for the new iPad. In a Flex Mobile project you have to override the DPI using the method mentioned above.
    Here are the results I got:
    Using the runtimeDPIProvider property on the TabViewApplication tag (works for any of the three project types) I created a class that extends RuntimeDPIProvider. To detect which iPad I was on, I used the following code:
    override public function get runtimeDPI():Number
         var os:String = Capabilities.os;
         if(os.indexOf("iPad") != -1)
              if(Capabilities.screenResolutionX > 2000 || Capabilities.screenResolutionY > 2000)
                   return DPIClassification.DPI_320;
              } else {
                   return DPIClassification.DPI_160;
         } else {
              return Capabilities.screenDPI;
    I'm returning a DPI of 320 as this gives the best result that matches the proportions of the device. In other words, even though the iPad DPI is 264, setting the app to 320 gives the correct size at the new Retina display.
    In order for this to work, you must compile the app with the -platformsdk flag pointing to iOS 5.1 SDK, and currently that means you need a Mac running Lion with Xcode 4.3.1. Here's the adt command I used:
    adt -package -target ipa-test -storetype pkcs12 -keystore ~/Desktop/iOS_DevCert.p12 -provisioning-profile ~/Desktop/iOS_DevProfile.mobileprovision newiPadTest.ipa newiPadTest-app.xml newiPadTest.swf -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPh oneOS5.1.sdk
    Also, the -app.xml descriptor file must have the <requestedDisplayResolution>high</requestedDisplayResolution> within the <iPhone> tags.
    Thanks everyone for their replies!
    iBrent

  • Flex Mobile Project UI Templates?

    I'd love to find some flex mobile templates to use in flash builder that already have the platform of many of the functional UI elements in them. I feel this would be a great springboard to learn more through examining pre-built projects as a means to get started with designing my own iPhone apps. Are there sites available where I can purchase such templates? What kind of file extensions am I looking for ui templates that would plug into flex mobile in flash builder? If they are free that is great too, though I don't mind paying for good quality app templates and would appreciate suggestions of sites/services that offer this.
    Thanks,
    Scott

    I did come across scalenine.com/gallery which seems to offer flex themes and skins. Are there other alternatives or similar sites that are available for this purpose of offering project templates to start with for flex mobile?

  • Flex Mobile Project only lists "Google Android" in Target Platforms

    I just downloaded the masters colection cs5.5 and im am using FlashBuilder 4.5.  When I create a new Flex  Mobile Project, only Google Android is a target platform.  I don't see  Blackberry or iOS as options.
    I do see Apple iOS when I create a mobile ActionScript project.
    This must be due to a configuration setting.  Can anyone help?
    i have already looked at this peron post and i have tryed all of the sollutions and none of them seem to work http://forums.adobe.com/thread/867857

    That didn't help me either.  Ultimately, here's what I did.
    I uninstalled and reinstalled the software
    After it was reinstalled, I updated to the 4.5.1 SDK PRIOR to doing any other software update.
    Then I updated the Software
    The software update found all new items and installed them properly (which is what I believe the issue is -- if you update prior to using the 4.5.1 SDK it doesn't install the required bits).
    Now it seems to be working for me.
    Not sure if that's the problem, but that's how I fixed it.

  • Flex mobile project: web root and root path for a remote web service?

    Hi all,
    i'm trying to set up the testdrive tutorial for flex mobile project, with flash builder 4.5
    and php data.
    I've uploaded the files on my remote web space (e.g. http://mywebsite.org, and the
    test file is http://mywebsite.org/TestDrive/test/test.php... and it works
    correctly)... But when i'm setting properties of the project, i don't know what
    to write into the web root and root path fields... I thing root path is simply
    http://mywebsite.org... and whatever i write in the other fields (output folder
    too) i have errors when i click on "validate configuration"...
    What should i put into those fields? is zend framework (and gateway.php)
    strictly necessary?
    As you can see... i'm a bit confused....
    Many thanks for any help
    Bye
    Alex

    I thought it was a simple question...
    No advice?

  • FLEX mobile project SDK?

    I've built my air/android apps using "Flex Mobile projects" in Flash Builder 4.5. I really need to test front camera support in an app im about to release. Will there be a Flex version of the Beta SDK so I can test this in my flex mobile projects? is it possible to use the "AIR 3 SDK Beta 2" SDK with a flex mobile project somehow?

    Yes follow the instructions here to change out the AIR version under Flex SDK 4.5.1
    http://blogs.adobe.com/cantrell/archives/2011/08/how-to-use-the-air-3-beta-sdk.html

  • How to display html content with image in Adobe Flash and Flex mobile project?

    Hi,
      I have a html content with image in it. How to display it in Adobe Flash Builder and Flex mobile project? Which control needs to be used for this?

    Hello,
    The only current way is to use an iFrame, or if you only need some html tags you could use the Text Layout Framework.
    Here this is the iFrame approach:
    http://code.google.com/p/flex-iframe/
    If the swc do not work in Flex4 just use its ource code which works...
    ...it is basically based on this:
    http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
    see also and vote, please:
    http://bugs.adobe.com/jira/browse/SDK-12291
    http://bugs.adobe.com/jira/browse/SDK-13740
    Regards
    Marc

  • Overlaying adobe air sdk 13 for flex mobile project gives me error

    After overlaying adobe air sdk in flash builder 4.6 i am getting this error in my flex mobile project "Could not resolve <s:ViewNavigatorApplication> to a component implementation.". I have followed the steps mentioned on adobe site. Can anyone please suggest me what i need to do in order to get this work.

    You are probably missing the updated flash debug player that describes all the new methods to the application.
    There is a good walkthrough of how to upgrade flash builder to a new library version, this is described in the first video of hsharma's starling tutorials.
    Its very annoying though, i wish adobe would really build in a feature like this to update libraries.

  • Possible to obtain phone IMEI number with flex mobile project?

    Just like the title says, is it possible to obtain phone IMEI number with flex mobile project? If not, does anyone know of another method to get a unique number to identify the phone being used (on android and iphone)? I'm asking because I'm building a chat application, and I need a way to potentially ban users based on something other than an IP address.
    edit: now that I think about it, an IMEI number might not be the best way, since wifi tablets may not hav an IMEI number, anyone have any other idea how I could get a number to identify a device that would already be present, because i'm afraid if its something generated by me, a simple uninstall and re-install could circumvent a ban.

    If this is an Android project, you can use this ANE:
    http://blog.snowflax.com/native-imei-action-script-extension-for-android/
    I have verified that it does work and provides the IMEI.  For cases where there is no IMEI ( bc the device is not a mobile phone, or it uses IMSI instead ), you can just bypass the device id check with your database, and enable full functionality.
    Although this is not full-proof, it will nevertheless screen a lot of devices.  With this, you can keep track of the number of app installs / resets, and add a 'banned' flag if you want to in your DB -- if you see unusal activity ( like:  unsually high number of re-installs ).
    ----->  UPDATE:
    I just found this ANE which  includes a class called 'SystemProperties', to find the IMEI/IMSI/serial/phone number on Android, and the MAC address on iOS:
    https://github.com/mateuszmackowiak/NativeAlert
    I have verified that the iOS part works, but haven't tried the Android side, yet.  Note: for iOS, it will also give you a UUID ( even though the object tag claims it is the UDID -- it's not ), which is worthless as a persistent means of identifying the device. since it gets reset on each app re-install.  So, for iOS, you have to use the MAC address, unless you are willing to store/restore the UUID into EncryptedLocalStore, as suggested by a user in:
    http://stackoverflow.com/questions/6794493/get-unique-identifier-mac-address-udid-etc-in-a dobe-air-for-ios

  • StageVideo with Flex Mobile Project on iOS

    In a Flex Mobile project using StageVideo, StageVideoAvailabilityEvent always returns StageVideoAvailability.UNAVAILABLE.
    I've been reading all day and it looks like StageVideo might not be supported with Flex projects, but I can't find a concrete answer.
    I need a definitive answer, using Flash Builder 4.6, AIR 3.1, and Flash Player 11, can StageVideo be used. If so, any help as to how to get this working would be greatly appreciated.
    Thank you in advance.

    After much trial and error, I finally have a definitive answer. The answer is yes, you can use StageVideo in a Flex Mobile project. To be honest I found StageVideo to be completely useless, at least for what I was hoping to use it for.
    The first big problem is that the StageVideo plays underneath all Flash content. Second, at least on iOS, there were no video controls. I suppose you could roll your own, but I didn't take the time to experiemnt with this. I ended up just using StageWebView.
    More information here: http://www.unfetteredthoughts.net/2012/01/12/embedded-h-264-video-on-ios-with-a-flex-mobil e-project/
    I hope that helps anyone else looking for this.

Maybe you are looking for

  • Changing MDACH ( action control ) in PLAF table in Inbound CIF in ECC

    Hi Experts, We have a requirement wherein Planned Orders are coming from APO to ECC systems. There Order Category can be both 'EE' ( SNP Order ) and 'AI' ( PPDS Order ). We want to update MDACH field in PLAF based on the value of ATPCAT of order comi

  • Zen M100 with 1 day of use no longer works

    *Zen M00 with day of use no longer works. After a few hours leave it's plugged into the USB, I realized that it's was abnormal screen. I tried to unplug it from USB by Windows but it still fails. After removing it from the USB and tried calling then

  • Best practice to manage a SessionBean with JMX

    Hi, I have a SessionBean and a User specific MBean. The SessionBean holds a static boolean which should be controlled by the MBean. Now should the MBean tell the SessionBean when the state changes or should the SessionBean setup a ChangeNotificationL

  • Pages have wrong color when published

    Hello, I have been trying to publish a site with iWeb, and everything is going fairly well except for the following problem: Some of the pictures publish with the wrong colors (greens show up as pink, among other things). The rest of the pictures pub

  • Speed Up Your Phone

    Hey guys, since I know a little trick to speed up your phone a bit. I found this trick on the internet some time ago, don't know exactually where. Anyway here it is: Open up your phone's menu and go to LOG. (this utility keeps track of your recent ca