Testing Unsupported Native Extensions in Flash CS6

I'm currently working on an iOS application using Flash CS6 Pro targeting the AIR 3.3.0.3560 SDK. In order to compile using the iOS 5.1 SDK (to support retina displays) from Flash CS6 it's necessary to add in a native extension in order to specify the iOS SDK location.
I've add the 'Vibration' native extension (com.adobe.extensions.Vibration.ane) library to my project, and of course supplied the full path to the iOS SDK. Publishing to the device works just fine, but an issue has crept into my everyday workflow as I can no longer test using ADL as I always get the following error via the output window:
"Test Movie terminated.
The content cannot be loaded because there was a problem loading an extension: Error: Requested extension com.adobe.Vibration is not supported for MacOS-x86."
Any ideas how to go about testing apps/movies that use Native Extensions locally using ADL?
Is it a matter of having to create another target for 'MacOS-x86' (or Windows) which is simply used for local testing purposes?
BTW - ideally it would be possible to compile from Flash CS6 using the iOS SDK without having to specify a native extension (if one isn't required), but in the meantime this appears to be a necessary evil.

Hi,
Its probably because the number of warnings in your application is very high and its a known issue that packaging fails in Flash Pro/Flash Builder, if the number of warnings is high.
You may want to suppress the warnings using -w in the platform.xml file and repackage your ANE using the -platformoptions switch. Then, you will be able to package your app in Flash Pro.
If that’s not possible, you may just package your application on command line.
Hope that solves your problem.
Neha

Similar Messages

  • Publishing air apps with native extension with Flash CS6 on Windows

    Hi all,
    is there any trick to publish air apps with Flash CS6 on Windows?
    I tried all native extensions from devnet, but nothing work to me.
    I read on Mac is possibility to specify the iOS SDK folder in publish
    settings, but on Windows it´s missing. 
    Is there anybody who has some experiences with publishing apps
    with native extensions for iOS and Android with windows Flash CS6?
    Thanks for all advices.

    I sympathize. I recently found a native alert for iOS and Android that's working with Flash CS6 on Windows with AIR 3.2.0.2070 but not AIR 3.2.0.2060. You can get the ANE here:
    http://www.jampot.ie/ane/
    Haven't tried the other ones. Let us know if you decide to try them.
    The sample code they have on the page doesn't work with the native alert. Here's the code I created - it's a document class for a .fla that has one dynamic TextField and one Button component on the stage :
    http://pastebin.com/DsxR9nJ4

  • Successfully using a Native Extension with Flash CS5.5 Pro, having issues

    Hey all,
    I'm trying to use a native extension due to an app rejection about the new storage guidelines. I'm hoping someone can help me figure out how to use a native extension from Flash CS5.5 and the adt command line utility (I've never used before).
    Apples storage guidelines in 5.0.1 require files saved to Documents (and other places) to be marked with the icloud "do not back up" bit. I'm trying to use Adobe's IOS 5.0.1 data storage native extension to do that as I have file sharing enabled and my app downloads files I want the user to be able to copy to their desktop.
    From the bits and fragments I'm reading all over, getting it to compile means using the command line adt tool (I've never used it before) because Flash Pro CS5.5 doesn't support native extensions. Also, this native extension requires a v14 SWF published (11.1) and CS5.5 only goes up to 10.2 (or higher if you install the players).
    I edited the AiriPhone.xml file and pointed it to an AIR 3.1 airglobal.swc and I have AIR 3.1 overlayed in flash. I can't test AIR for iOS anymore after that change but I can get it to compile a SWF. The adt command line adt utility stopped complaining that my SWF version was 13 when it needed 14, so I assume this worked?
    I am trying to compile a debug version so I can see trace statements to see if the native extension reports success on changing the bit. Here is my command line cobbled together from scraps of info on adobe.com and the -help data:
    adt -package -target ipa-debug -connect 192.168.1.80 -provisioning-profile myApp.mobileprovision -storetype pkcs12 -keystore myApp.p12 myApp.ipa myApp-app.xml myApp.swf dat AppIconsForPublish Default-Landscape.png Default-LandscapeRight.png -extdir extensionDir
    Before this iCloud change this app published directly from Flash Pro CS5.5 without any issues. I am only running into issues getting this app to work with this native extension and/or published correctly.
    I am including the folders "dat" and "AppIconsForPublish" as well as splash screens (this app is landscape-only) as well as that extension in the folder extensionDir.
    After putting in my password my app compiles into an IPA which I can drop into iTunes. It has the same general size as the IPA generated from Flash Pro. The icon is correct, etc.
    When I sync this file, the progress bar goes across, I see it loading on my iPad and then once it goes to install I get a popup saying "iTunes Sync: 'myApp' failed to install."
    Is there anything obvious wrong with my adt line? Has anyone else used this native extension? Ideas on what I can do to fix this?
    No, unfortunately I did not build this with Flash Builder. I am an avid user of it now and this would be a moot point as it uses ANEs and changes SWF versions trivially. I have to get this to compile using Flash Pro CS5.5 though.
    Any help is greatly appreciated!
    edit:
    Just FWIW, after I updated the .xml to use the latest AIR and such (so the version is 14) I removed the extension, exported purely from Flash Pro CS5.5 and the app works fine. As soon as I enable the <extension> in the XML I can no longer install the app. This just appears to be a noob adt publish issue.

    My app downloads PDFs, movies and other information-esque files and saves them to the apps Documents folder so they can be retrieved via file sharing. These files not being in something purgable like /Library/Caches and not having the "do not back up" bit is why I was rejected.
    update: It's definitely my command line building.. I took out the native extension completely and published from flash to an IPA and it works. I then run adt on the same SWF that just worked and it fails to install. So the install failing is my command line. I see this article and my command line is very similar. I'm really uncertain why it's failing.

  • Does flash builder 4.6 have a simple method to include Native Extensions like Flash Pro cs6?

    flash cs6 has this:
    http://www.adobe.com/devnet/air/articles/using-ane-in-flash.html
    flash builder 4.6 seems to only allow this through command line compilation.

    I've found a work around of removing the swc then adding it back. Such a damn pain in teh ***!

  • Utilizing AIR Native Extensions in Flash Pro CS5.5

    I'm trying to integrate Adobe's "Gyroscope" example of ANE to work from Flash Professional CS 5.5.
    http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/g yroscope.html
    Apparently, one has to use the somewhat crude "ADT" command-line tool to build an app that uses Native Extensions.
    Unfortunately, I cannot get past the numerous errors ADT is throwing at me.  The latest is:
    unexpected failure: inputs not set
    java.lang.IllegalStateException: inputs not set
              at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.j ava:62)
              at com.adobe.air.ADT.parseArgsAndGo(ADT.java:556)
              at com.adobe.air.ADT.run(ADT.java:413)
              at com.adobe.air.ADT.main(ADT.java:463)
    Unfortunately, I'm not an advanced developer, so I really don't know what any of that means. (But I'm sure if I can just get this one example to compile and run, I'll be better able to perform the necessary tasks in the future.)
    Can someone PLEASE help me?
    Thanks.
    Mike

    Joe_suchta, you can follow these steps http://www.youtube.com/watch?v=pwVkK27Nors
    Lucky

  • Exchange Extension in Flash CS6

    can someone please help me? I downloaded and installed Adobe Exchange 0.9.4 and when I opened Flash cs6, the extension is nowhere to be found. I checked Windows>Extension but nothing there. please help me.

    Hi Tilles80,
    Please tell me if my understanding is wrong - you're only experiencing this problem on Mac for Flash CS6 - and other CS6 products work fine.
    It would be useful for us to have Flash CS6 generate logs to work out what's going wrong. Could you please carry out the following steps and email the log file to me at fgregor at adobe dot com?
    In Terminal enter the following command:
    sudo plutil -convert xml1 ~/Library/Preferences/com.adobe.CSXS.3.plist
    open -a TextEdit ~/Library/Preferences/com.adobe.CSXS.3.plist
    … a blob of XML should pop up in TextEdit. Increase the LogLevel from 1 to 6.
                    <key>LogLevel</key>
                    <string>6</string>
    Save your changes to the file.
    Then back in terminal,
    sudo plutil -convert binary1 ~/Library/Preferences/com.adobe.CSXS.3.plist
    Restart Flash CS6 and repeat the same steps again. The log file will be available at:
    /Users/<username>/Library/Logs/CSXS/csxs3-FLPR.log
    Could you also please let me know the contents of the <HostList>...</HostList> section from the following files (if they exist)?
    /Library/Application Support/Adobe/CS6ServiceManager/extensions/AdobeExchange/CSXS/manifest.xml
    /Users/<username>/Library/Application Support/Adobe/CS6ServiceManager/extensions/AdobeExchange/CSXS/manifest.xml
    Thanks for your perseverance!
    Fraser

  • I was using an Extension in Flash CS6, Until it crashed...

    I had this extension called: "Keyframe Caddy", I was just importing some graphics to it for lip-syncing in my animation, until CS6 crashed, and showed this error message saying: "FlashPro has encountered a problem and will now terminate." This used to work though...
    Does anyone knows how to fix this problem?

    Something to chek, open a document, press CMMAND P, this will bring up the print screen, you can click on the arrow to expand the options
    Then click on the presets and make sure that the preset you want is selected.
    From the preset drop menu you can select Plain paper best or fast draft, which should then be color.
    Hope this helps

  • Flash Pro CS6 iOS Native Extension Problem

    I am trying out flash pro CS6 new features.
    The most important one being ANEs [native extensions].
    in flash builder 4.6, when using an ANE for ios, it is sometimes required to put the ios5 SDK location [ -platformsdk  in ADT].
    This is completely missing in Flash Pro CS6 IDE, any way around that?
    [for the info on including the ios5 sdk check:
    http://help.adobe.com/en_US/flex/mobileapps/WSe4e4b720da9dedb5-4aefe03513238d8a1b8-8000.ht ml]
    Thanks.

    Uhmm, i'm doing a kind-of-360º-panorama-app and we need Gyroscope and Ad-hoc / AppStore distribution. And i've tried to get an answer of any kind from guys on Adobe on their AIR facebook fan page and here.
    SHould we write our own gyroscope ANE?, have any of you succesfully compiled ad-hoc or app-store with Ketzler Euler Gyroscope ANE?
    http://www.ketzler.de/2011/11/adobe-air-gyroscope-native-extension-with-euler-angles-roll- pitch-yaw-for-ios/
    regards.

  • Extension Builder for Flash CS6 is not working

    Hi I'm trying to make an extension for Flash CS6, using Extension Builder 1.5
    When I run the extension from Flash Builder, Flash CS6 opens up, but the extension doesn't show up under Window>Extensions menu.
    I'm just trying with an empty extension.
    Note: If I create another extension for Photoshop, it works fine.

    //resize 100*100
    window.width = 100;
    window.height = 100;
    //position 300,300
    window.nativeWindow.x = 300;
    window.nativeWindow.y = 300;

  • Problems deploying native extensions on Android

    I'm trying to test a native extension on Android, but I keep getting the following error when trying to build and push to the device:
    "An implentation for native extension 'extension name' required by the application was not found for the target platform."
    I thought I had just messed up when creating my extension somehow so I tried using others and it doesn't matter which extension I try, I always get the same error. Has anyone else ran into this issue? If so, how did you solve it?
    Thanks.

    If anyone else runs into this issue using FlashDevelop, follow the steps here: https://plus.google.com/u/0/109524935899218597554/posts/7rhFEX7S372
    That solved it for me. Woohoo!

  • ADL + Flash cs6 + Native extension

    Top of the morning to you.
    I finally got around to trying Flash cs6 with a native extension. I chose the vibration example from Adobe.
    While it works on my android device, I do not know how to test in ADL. When I test movie I get:
    Test Movie terminated.
    The content cannot be loaded because there was a problem loading an extension: Error: Requested extension com.adobe.Vibration is not supported for Windows-x86.
    Even with no code at all, just having the ane and swc liked causes this.
    Is there anything I can do besides unlink them when testing movie?
    Thanks

    Its definitely the best way to provide a default AS only implementation in the ANE so that the app using the native extension can fallback to the default AS only implementation if a native library for that platform is not defined.
    We will work towards modifying the extensions available at: http://www.adobe.com/devnet/air/native-extensions-for-air.html

  • Flash CS6 IDE Air Native Extensions problem HELP

    i'm trying to test out CS6's new native extension (ANE) but I'm having a difficult time getting it to work.
    First I went to Adobe's page: http://www.adobe.com/devnet/air/native-extensions-for-air.html
    Downloaded the "Vibration" ane and then through the Actionscript settings panel added the .ane file to my app and then in my actionscript tried to add the code:
    import com.adobe.extensions.Vibration
    var vibe:Vibration;
    vibe = new Vibration();
    vibe.vibrate();
    But when I go to compile I get this error:
    Scene 1, Layer 'Layer 2', Frame 1, Line 3
    1172: Definition com.adobe:Vibration could not be found.
    What do I need to do to get this running? I've tried several different things and variations on the above code but nothing seems to do it. Help!

    Well that gets me furthur than before. Thank you. I had to change a few things.
    import com.adobe.extensions.Vibration
    I had to change to:
    import com.adobe.nativeExtensions.Vibration
    but now when I test in the debugger I get this error:
    [SWF] iOS.swf - 3827 bytes after decompression
    Vibration Constructor
    Vibration Constructor: Create an extension context
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at com.adobe.nativeExtensions::Vibration$/initExtension()[/Users/mgarner/Dropbox/_apps/score board/com/adobe/nativeExtensions/Vibration.as:58]
              at com.adobe.nativeExtensions::Vibration()[/Users/mgarner/Dropbox/_apps/scoreboard/com/adobe /nativeExtensions/Vibration.as:32]
              at iOS_fla::MainTimeline/frame1()[iOS_fla.MainTimeline::frame1:14]
              at runtime::ContentPlayer/loadInitialContent()
              at runtime::ContentPlayer/playRawContent()
              at runtime::ContentPlayer/playContent()
              at runtime::AppRunner/run()
              at ADLAppEntry/run()
              at global/runtime::ADLEntry()
    And when I publich to app the phone doesn't vibrate, but all my other functions and actions are working. Any ideas?

  • Native Extensions don't work in Flash CS6

    Edit: Never mind.
    Whoever made the native extension, despite it being a useful function, used the abominable package naming structure of:
    com.coder.nativeExtensions.NameOfClass.NameOfClass
    Anybody going to use it would import com.coder.nativeExtensions.NameOfClass, in which case it would not work because the name of class is also the name of an extra package directory and you have to repeat it twice which makes no sense, but it works with the class name redundantly repeated twice in the import.
    I am on Flash Professional CS6. I upgraded it just so I could use Native Extensions. I have browsed and added the native extension to libraries. I have added the import statement and added the xml entry for extension ID.
    If I try to run it I get "Definition could not be found" error for the package import. There is a complete lack of documentation or any way to find out why it isn't working. All I get is an unhelpful error that doesn't address the actual problem.
    How do you get native extensions to work?

    There was nothing wrong with CS6 in this situation, it was that the package name of the specific extension I was trying to use that was horribly named, to the point you had to repeat the class name twice, which means most developers would only put it once and it wouldn't work. Being that this was the first native extension I tried to run, it seemed that the native extension feature didn't work.
    Say your name is Bob Smith and you make a native extension that runs your hardware camera as a flashlight.
    If you name the class FlashLight and the package name com.bobsmith.nativeExtensions.FlashLight
    people would have to put
    import com.bobsmith.nativeExtensions.FlashLight.FlashLight;
    or
    import com.bobsmith.nativeExtensions.FlashLight.*;
    to import it. And that woudldn't  make much sense. "FlashLight" is the name of the class. If the class and the package subdirectory have the exact same name, people are going to think the package subdirectory is the class.
    Most people trying to import it would put
    import com.bobsmith.nativeExtensions.FlashLight;
    or
    import com.bobsmith.nativeExtensions.*;
    in which case it wounld not work.
    A non-insane way to name your package would be com.bobsmith.nativeExtensions.hardware
    Then one could put
    import com.bobsmith.nativeExtensions.hardware.FlashLight;
    or
    import com.bobsmith.nativeExtensions.hardware.*;
    That would make sense, either importing the FlashLight hardware feature or all hardware features in the package.

  • Adobe Flash Pro CS6 removes the native extensions section of my app descriptor

    In CS5.5 I had some problems with native extensions, but that's ok, since CS5.5 was not ANE-aware (it was released before that).
    But in CS6, it's even worse. It just deletes the whole <extensions>...</extensions> from my "xxx-app.xml" descriptor file each time I publish my SWF. Why?
    It shouldn't do that! CS6 supposedly works with ANEs (it even has a special ANE icon in the "ActionScript settings" window, whereas CS5.5 didn't), so why is it removing my extensions from the descriptor?

    To the right under "Target: AIR for Android" or "Target:AIR for iOS", click the wrench and go to the "permissions" tab. Check "Manually manage permissions and manifest additions".
    I know that helped when it was messing with my intent filters and other stuff I entered (Stuff inside the CDATA/manifestadditions).
    Not sure if it helps with the <extensions> tag, but its not deleting mine...
    You could also try putting <extensions> directly after </android>, thats where mine is. I suspect some entries have to be in a specific order.

  • Flash cs6 native ane publish problem

    hi! i was very lucky to download and test flash cs6, but there are directly problems with the publish function
    after i add an ane file, i get this error:
    DVFreeThread - CFMachPortCreateWithPort hack = 0x18fe90, fPowerNotifyPort= 0x19d5a0
    DVFreeThread - CFMachPortCreateWithPort hack = 0x1a96b0, fPowerNotifyPort= 0x18c5e0
    DVFreeThread - CFMachPortCreateWithPort hack = 0x19d0a0, fPowerNotifyPort= 0x19d5a0
    invalid profile specified 'Application does not support current profile'
    if i'm testing another ane file, i get this error:
    DVFreeThread - CFMachPortCreateWithPort hack = 0x32a460, fPowerNotifyPort= 0x319fc0
    DVFreeThread - CFMachPortCreateWithPort hack = 0x1454b0, fPowerNotifyPort= 0x12c400
    The content cannot be loaded because there was a problem loading an extension: Error: Requested extension com.wolfknock.idialog is not supported for MacOS-x86.
    both ane files was supported on the cs5.5 version. so should cs6 not be besser than 5.5?
    i'm using the default deliverd air3.2 and mac lion..
    maybe it's because the new option ios sdk 5.1 (checkbox?)

    Unfortunately it's a compile time error not a runtime error. If it was runtime then yes you could certainly check the typical isSupported() method most ANEs have. Although you need to compile to get to that point and the compiler is throwing the error.
    Flash CS5.5 didn't have a problem because you needed to package with ADT command line to include a native extension as it had no idea what it was so it makes sense you could test using it. Flash Builder users (which has had ANE support) have had to deal with keeping ANEs from being packaged to avoid the same compiler errors you're getting. We're very used to the PITA that it is
    All an ANE developer needs to do is provide an implementation for a particular platform, even if it doesn't work, and you won't get errors. During creating the static library for the ANE the iOS developer could specify support for it in the build. Unfortunately the ANE you're using doesn't have that. It's telling Flash it only works on a device.

Maybe you are looking for

  • How can I bring the laptop display to TV?

    Hi guys, I have bought the converter to use the presentation on TV. My laptop is 3000 v100; it has a 15 pin vga. I conected the 15 pin vga with rca (yellow) as my picture: http://picasaweb.google.co.th/oatasis/Etc/photo#5221591935704878002 When I con

  • Blackberry app world wont upgrade

    Hello, Kindly assist as i have been trying to upgrade my blackberry app world for days now. when i click on the icon , it takes me to the the homepage but when i click on upgrade today icon, i get sorry, your session has expired. please close all you

  • FLOOR PLAN MANAGER WITH WEBDYNPRO ABAP

    Hi All, How to learn FPM , please help me....and please send some doc's... Regards. Sunil B

  • Building from MPL sources

    Hi All, We need to customize some classes contained in rpc.swc. To avoid any potential licensing hassles, I decided to try building it from the MPL sources available for download at http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3 So

  • Resource for VIRSAHR 530_700 Installation

    Hi Gurus, I am new to SAP Security / GRC. I referred the notes 1133167 which gives details about VIRSANH 530_700. But, if my SAP System has already have SAP_HR then first Ineed to install the SAPNH 530_700 and THEN , I need to Install VIRSAHR 530_700