Compilation of adobe air app that uses ANE fails while using the flex ant tasks.

The resolution seems to be a hack - which when you rename .ane files to .swc, it works.
I came across this workaround here: http://stackoverflow.com/questions/11112705/using-ant-mxmlc-task-with-native-extension?rq= 1
<mxmlc file="${app.root}/app.as" 
               output="${output.dir}/app.swf"
               allow-source-path-overlap="true"
               debug="false"
               actionscript-file-encoding="UTF-8"
               swf-version="19" >
            <load-config filename="${framework.root}/air-config.xml"/>
            <source-path path-element="${framework.root}"/>
            <source-path path-element="src"/>
            <source-path path-element="other"/>
            <compiler.library-path dir="libs" append="true">
                <include name="**/*.swc"/>
            </compiler.library-path>
            <!-- THIS DOES NOT WORK -->
            <compiler.external-library-path dir="nativeExtension" append="true">
                <include name="**/*.ane"/>
            </compiler.external-library-path>
        </mxmlc>
However, if I rename all the .ane files in the nativeExtension directory to .swc the following change works..
            <!-- THIS WORKS -->
            <compiler.external-library-path dir="nativeExtension" append="true">
                <include name="**/*.swc"/>
            </compiler.external-library-path>
Has this issue been addressed?
I'm using the following:
- Adobe AIR SDK & Compiler (version 3.7) for Mac OS X
- ActionScript Compiler 2.0
- Apache Ant wrapper located in "AIRSDK_Compiler/ant/lib/flexTasks.jar"
Let me know if any other details will be helpful.

I'm using something like this in my build.xml (inapp.purchase.flash.swc is the flash wrapper for the ANE):
            <external-library-path dir="${basedir}/extensions/inapp.purchase/inapp.purchase.flash/bin" append="true">
                <include name="inapp.purchase.flash.swc" />
            </external-library-path>
I don't think you need ANE when building swf component of your app. ANE is only required for packaging. By linking with external inapp.purchase.flash.swc you're just telling action script compiler that above symbols will be defined later (in ANE).

Similar Messages

  • Error message when downloading adobe air app.

    I have according to the installation program successfully installed adobe air. I am now trying to download an adobe air app from Jacqui Lawson and keep getting the following message.
    "Sorry an error has occurred. The application could not be installed. Try installing it again. If the problem persists, contact the application author."
    I have read other comments regarding this matter and tried everything suggested so far. I am still having the same issue.
    I am running windows vista 32 bit. All firewall and anti virus are off, UAC is enabled, I have uninstalled and reinstalled the program and I have tried using a different browser. Can anyone suggest anything else to try.

    Curtis Baughman
    Many of us have encounted this issue. The problem is not confined to a particular version or computer operating. Many homemade remedies and scientific ones have worked for some and not others. The most recent fix was offered by an ID by the name of Maud Barbara and seems to have been the answer for that user and at least one more.
    Maud Barbara's fix can be found at the end of the very long thread on the subject found
    http://forums.adobe.com/thread/1121947?start=40&tstart=0
    The rough Google Translate went
    Hello 
    I had the same problem as you and I just d have the solution:
    go to C / program files (86) / common files/OOBE
    Rename OOBE by OLDOOBE
    and your problem is resolved
    You can reinstall the software
    What worked for me in this case was none of the above. How I and others navigated this installation problem is documented in the thread cited.
    We look forward to your results to see what turned out to work for you.
    Thanks.
    ATR

  • Does compiling an advanced datagrid using flex ant task require additional config other than the license property?

    Hi,
        I am trying to build my Flex app which uses the Advanced Data Grid in a couple of locations. Originally, when I built the app using the flex ant tasks, I noticed the Visualization Trial watermark show up on the screen. I then added the license tag with the serial number to my flex-config.xml and re-ran my ant build. The watermark goes away, but then when I look at the advanced datagrid, the datagrid shows up with the hierarchy, but the data does not display in the grid (only the group by nodes are visible, not the data for the leaf elements). This works fine when I build the app using my Flex Builder. Is there something I am missing or need to add to my flex ant task to make this work?
    Any help or guidance is much appreciated.
    The following is the ant task to build the module that uses the ADG:
        <target name="compile-modules" depends="compile-shared">
            <!-- Module 1 -->
            <echo>Compiling module 1...</echo>
            <mxmlc file="${modulesrc.dir}\ui\modules\mod1\Module1.mxml"
                    output="${dist.dir}\modules\mod1\Module1.swf"
                    actionscript-file-encoding="UTF-8"
                    incremental="true"
                    default-background-color="0xFFFFFF"
                    use-network="false"
                    load-externs="${extern-report-xml}">
                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
                <source-path path-element="${FLEX_HOME}/frameworks"/>
                <!-- source paths -->
                <compiler.source-path path-element="${modulesrc.dir}"/>
                <!-- add external libraries -->
                <compiler.library-path dir="${main.dir}" append="true">
                    <include name="${lib.dir}"/>
                </compiler.library-path>
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="locale/{locale}" />
                </compiler.library-path>
                <compiler.debug>true</compiler.debug>
            </mxmlc>
        </target>
    And here is the ant task for the main application:
        <target name="compile-ui" depends="compile-modules">
            <mxmlc file="${src.dir}/MainApp.mxml" output="${dist.dir}/MainApp.swf"
                    actionscript-file-encoding="UTF-8" keep-generated-actionscript="false"
                    fork="true" maxmemory="1024m">
                <jvmarg value="-XX:MaxPermSize=256m"/>
                <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                <source-path path-element="${FLEX_HOME}/frameworks"/>
                <source-path path-element="${src.dir}"/>
                <source-path path-element="${main.dir}/locale/{locale}"/>
                <!-- List of SWC files or directories that contain SWC files. -->
                <!--<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="locale/{locale}" />
                </compiler.library-path>-->
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs/datavisualization.swc" />
                    <include name="libs/flex.swc" />
                    <include name="libs/framework.swc" />
                    <include name="libs/rpc.swc" />
                    <include name="libs/utilities.swc" />
                    <include name="locale/{locale}" />
                </compiler.library-path>
                <compiler.library-path dir="${main.dir}" append="true">
                    <include name="${lib.dir}"/>
                </compiler.library-path>
                <runtime-shared-library-path path-element="${FLEX_FRAMEWORK}/framework.swc">
                    <url rsl-url="framework_3.2.0.3958.swf"/>
                    <url rsl-url="framework_3.2.0.3958.swz"/>
                </runtime-shared-library-path>
                <compiler.debug>true</compiler.debug>
            </mxmlc>
        </target>
    Regards,
    Purush

    to remove watermark i have added license key in WEB-INF\flex\license.properties file as key = value

  • Is there an Adobe Exchange app that I can use in Dreamweaver CC that will read .ASPX extensions?

    Is there an Adobe Exchange app that I can use in Dreamweaver CC that will read .ASPX extensions?

    Apparently, you need to activate the features [ by installing an extension] that are not supported in DW CC.  I suggest read this blog:
    <http://blogs.adobe.com/dreamweaver/2013/06/a-look-at-the-modernized-dreamweaver-cc.html>
    Hope this gets you started.
    Good luck.

  • Will Adobe AIR apps work on iOS (Javascript/HTML)?

    Hello,
    I haven't been able to find any definitive answer on whether Adobe AIR apps using Javascript and HTML can work on iOS.
    Anyone know for sure?
    And if so, what happens with the APIs available through these swfs that we currently include:
    networkInfoWrapper.swf
    servicemonitor.swf
    applicationupdater_ui.swf
    Many thanks
    Stephen

    The answer is no. Apps developed for AIR using HTML and JavaScript are not supported on iOS or other mobile platforms. The mobile platforms do include a StageWebView component that can be used to load and display HTML and JavaScript. However, it is entirely different than the HTMLLoader control used on the desktop platforms (for HTML-based AIR apps). You cannot, for example, call any AIR/Flash APIs from JavaScript running in a StageWebView. In general, very little communication is possible between your ActionScript application code and the JavaScript code running in the StageWebView object.

  • Adobe Air Apps for OS X: Unable to build a valid certificate chain for the signer. // Code Signing on OS X 10.10 Yosemite

    Hi,
    I created several OS X Apps using Adobe Air. That worked quite well before. Now I have do update my OS X Apps - therefore I also needed update my certificates. [ I'm using Flash CC 2014 on OS X Yosemite 10.10 ]. But whatever I do it doesn’t work anymore. I always get this Message saying:
    Unable to build a valid certificate chain for the signer.
    I googled a lot and the only "guide" I found is this post (from April 2013) about code singing - http://scottgaertner.com/code_signing/
    I’m not used to deal with this kind of stuff (CA etc.) - so it's quite confusing to me.
    Would anybody please be so kind and tell me what I have to do?
    Is there any instruction from Adobe? (I didn't find one yet) 
    A step by step instruction for absolute dummies would be great!
    Best regards and thank you in advance
    Jan

    Hi Mukesh,
    I installed the Flash CC 2014 update and added some Certificates from Apple to my Keychain. Now EVERYTHING works fine again!! :-)
    Thank you very much for the Update! :-) Good job!
    Best regards
    Jan

  • Adobe AIR Apps + Safari = Very slow

    Hi everybody,
    I'm experiencing a strange behaviour of my Adobe AIR Apps on iPad. I've tested several Apps now (one GPU-Heavy Game, one CPU-Blitting App, one pretty standard Puzzle) and all of them do have the same issue - as soon as Safari is running in the background it sometimes (not always.. and most likely on iPad1) slows my App down to 1fps. Until I close Safari again. I haven't ever seen any other App doing so, thus I believe it's an Adobe AIR bug. Maybe only on iPad though.
    Does anyone know why this happens or if I can get around of that? Besides my Apps run superfast.
    What I've tested so far is:
    - My memory usage is ~4mb. Doesn't seem to bother him if it's more or not
    - My GPU-Cache is held quite low (but even with empty GPU Cache this issue appears)
    - I'm using an Enter-Frame in all my apps which simulates the rendertick. Maybe this may be the fault?!
    Many thanks in advance,
    Marvin.

    Furthermore:
    - if the iPad was restarted you can have opened any iOS system-app without slowing down the Adobe AIR app
    - nevertheless after some hours this bug occurs again.
    Our game is in stores now: http://itunes.apple.com/us/app/ifunnel-frenzy-hd/id457822239?mt=8 and many people send us bugreports because of it. As soon as I'm telling them to close iOS system-apps things work superfine again.
    You can download and test this bug for yourself - I think this might be pretty self-explaining then.
    I'm a bit struggling how to solve this.. honestly.

  • Displaying fb Friends in Adobe AIR app

    First off, I realize I'm completely in over my head here.
    I am a designer... not a programmer.  Sure, I've set up some "quizzes" on facebook... but nothing like what I'm trying to do here.  So, I'm hoping to get some quick and simple help from someone here.
    Anyway... here's my problem...
    I've made a fun little Adobe AIR app using Flash CS4.  When ran it makes your computer screen look like you're logging into the Umbrella Corporation from the Resident Evil franchise.  It has company data, surveillance cameras and other stuff.  It's totally for fun and doesn't "do" anything.  Just wanted to make an AIR app late one night and this is what I did.
    Now, however, I would like to make it so that you can login to your facebook account and then view a "database of Umbrella Employees"... which... in reality... would simply be a list of your facebook friends with pictures!  The descriptions of what they "do" could be randomly generated from a file or something... or it could be grabbed from some posts they've made or something.  But the friend pictures and names are really what I'm wanting to show.
    I have looked and looked all over for a simple "downloadable" example of this.  I've found some things, but everything is like reading an encyclopedia... and, like I said, I'm simply not that smart.
    Does anyone have a Flash CS4 .fla file that you could share with me to show me how to do this?
    I'm serious when I say I can't figure much out... so please include all library files and anything else I need to know (like upload this to your server here) and stuff.
    If you help, and I "release" this (obviously I can't make money on it) I'll put an Easter egg in for you with your profile or picture or whatever you like!
    Here's hoping for some help...
    Noel

    start here: http://code.google.com/p/facebook-actionscript-api/

  • Run Adobe AIR app as Windows Service

    I have an app which monitors an RSS feed. Upon an emergency,
    the RSS feed is updated. The app detects the change and launches
    (from the taskbar/dock) full screen, plays an alarm sound and
    displays the message.
    Is it possible to run this app as a service (I know that
    there are several software options to enable this) - my question is
    directed towards launching the full screen warning. Can I utilize
    the windowing API before a user logs in if the app runs as a
    service?
    I have tested this using a couple of those software options
    with no success.
    Does anyone else have any ideas or answers?

    John, did you ever find a solution for running an Adobe AIR app as a Windows Service?

  • Adobe Air Apps connection

    Forgive the amateur nature of this question if the answer is
    readily out there.
    As an Adobe AIR apps user, how do Adobe Air applications
    connect to the internet and how can this be configured...I don't
    seem to see a readily apparent shell application with settings that
    can be modified. I ask because here (in my workplace) I have
    internet capabilities, but because I function behind a firewall,
    the connection isn't open to any app on any port.
    (I'm running on XP, incidentally)
    Thoughts? Direction?

    AIR applications use the networking support provided by the
    underlying OS. On XP, any required configuration is done via the
    Internet Options control panel. Assuming your machine already
    configured to access the internet, no additional configuration
    should be necessary.
    Oliver Goldman | Adobe AIR Engineering

  • How to fix sound delay in adobe air apps?

    I am working on this drummer game where the user has to repeat what he listens by tapping on the thouchscreen, but there´s a noticeable delay on Android and iOS. The same game I had it working fine on AS2 for PCs. I don´t know whats the problem in adobe air apps. I hoe someone can help me.

    Unfortunately, I do not own an iOS device and from my understanding, you have to have a developer account just to be able to test apps on your device, even if you have no intention of ever publishing something on the store. Correct me if Im wrong on that, but everything I have seen is that the only way to test apps without a developer account is to have a jailbroken device.
    I have been building an audiobook player on and off for a while now and tested it on a Galaxy Nexus, Nexus 4, and Nexus 5 in addition to my Moto X. None of those ever experienced any noticeable delays in playback. That is why I was wondering if it is a per device issue. Or it could be that I have just always used vanilla (or extremely close to it) Google Android devices. I understand that the devices I have tested with are most likely in a very low percentage of active devices used aside from the Moto X. I was basically just wanting to jump in to provide my notes on the issue, the device I tested with, and my experience.

  • License Keys for Adobe Air Apps

    Many software applications require the end user to input a valid license key before proceeding with the installation. I have yet to come across an Adobe AIR application that employs this mechanism.
    The question is how can i integrate such a mechanism into an adobe air app?

    Two options:
    a) Build a licensing verification scheme yourself
    b) Use a 3rd party tool, such as NitroLM or Sharify or Shibuya

  • Dmg/exe vs adobe air app

    Happy Holidays everyone,
    I tried publishing a dmg and I assume the exe behavior would be the same.  I couldn't find a way to include files that were linked via the Loader() method.  If I were to publish this as an adobe AIR app the settings give me an option to add a list of files either one by one or by adding a folder.
    So the question becomes how can I get loaded swf's to be included in my published dmg (Macintosh) / exe (Windows) application file?
    Sorry to disturb the forumists on Christmas eve.
    Thanks for any help.
    -markerline

    Thanks kglad.  I'll take that answer as official.  But it's not inexpensive software on top of what I paid for my CS upgrade.  Don't know why this functionality isn't included in Flash to begin with.  I guess Adobe wants you to use AIR.  We'll see if I can raise the cash out of  =air=  to purchase mProjector.

  • Adobe AIR app installation issue due to certificate problem on mac 10.9.5

    Im trying to upgrade and then reinstall an Adobe Air application but get the error message failing to install due to a certificate issue.
    The developer says the fix is to uninstall the app and install again but this also fails.
    Checked my machine clock - saved but that didnt work
    The adobe AIR uninstaller simply says I have the latest version? Cant seem to delete and reinstall although other adobe air apps work so I dont think this is the issue
    I have gone through the troubleshooting guide: Troubleshoot AIR installation | Mac OS but still have the issue?
    Any ideas would be great.

    I suspect your Mac OS install was an in place upgrade from an earlier version. This is something I would never even consider with a production machine.

  • Adobe Air App in First Lady Michelle Obama's "Apps for Healthy Kis" Contest

    Break pal - Fitness at Your Desk (http://www.breakpal.com).  An online workplace wellness application built using Adobe Air and Drupal has been accepted into First Lady Michelle Obama's " Apps for  healthy kids competition.
    The competition is to inspire application developers to develop  utilities or games which inspire kids and adults to eat healthier and  develop better exercise habits. Break Pal does both by reminding users  to exercise at intervals and then delivers office safe micro-workouts  right to the desktop.
    Exercises are mostly Qigong, cardio kung fu, and yoga based.
    Social networking aspects are also used to create accountability.
    If the application wins it will be heavily promoted by the whitehouse  and very likely will end up being used by millions of school children,  businesses, and individuals to help them stay healthy and eat right. A good push for good health and adobe air
    Please help this adobe air app win the competition by voting for it at
    http://www.appsforhealthykids.com/application-gallery/break-pal
    you'll need to register prior to voting at
    https://www.appsforhealthykids.com/register
    Your vote and anything you can do to promote voting is very appreciated
    Thank You!!!
    Phil

    Very cool Phil!  You got my vote!
    Chris

Maybe you are looking for