AIR 2.0 SDK installed but Flash Builder still giving error "NetworkInterface could not be found."

Hi there,
I am trying to retrieve the users MAC address to implement an authorization process on a AIR application. I have read that this is possible with the latest version of the AIR SDK (2.0).
I am developing in Flash Builder and have discovered that it does not ship with the latest AIR SDK. Therefore I have tried two seperate solutions:
1) Following these instructions for overlaying the latest AIR SDK onto the current Flex SDK.
http://kb2.adobe.com/cps/495/cpsid_49532.html
2) Downloading the latest Flex SDK (4.1) and using that.
In both of these cases Flash Builder then recognises the NetworkInterface and NetworkInfo classes implying that the overlaying of the AIR SDK has been successfully. However when I then run the app the debugger throws an error on the following line:
LINE:
var results:Vector.<NetworkInterface> = NetworkInfo.networkInfo.findInterfaces();
Note: I have imported both classes as well.
ERROR:
VerifyError: Error #1014: Class flash.net::NetworkInterface could not be found.
Whilst it throws the above error it also traces the following text to the console:
outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ Main$]
                       [Main[O] *[A]] {} ()
  0:debugfile "E:\Projects\ABETA\ABETA-AIRapp\flash-air\code;;Main.as"
                       [Main[O] *[A]] {} ()
  2:debugline 73
                       [Main[O] *[A]] {} ()
  4:getlocal0
                       [Main[O] *[A]] {} (Main[O])
  5:pushscope
                       [Main[O] *[A]] {Main[O]} ()
  6:debug
                       [Main[O] *[A]] {Main[O]} ()
  11:debugline 76
                       [Main[O] *[A]] {Main[O]} ()
  13:findpropstrict flash.net::NetworkInfo
                       [Main[O] *[A]] {Main[O]} (Object[A])
  15:getproperty flash.net::NetworkInfo
                       [Main[O] *[A]] {Main[O]} (*[A])
  17:getproperty networkInfo
                       [Main[O] *[A]] {Main[O]} (*[A])
  19:callproperty findInterfaces 0
                       [Main[O] *[A]] {Main[O]} (*[A])
  22:coerce __AS3__.vec::Vector
I am not sure what steps to take next. I haven't found much about this online. The following adobe forum page is high on the google search results but when you click through it says I am unauthorized despite being logged in:
http://forums.adobe.com/thread/528538?tstart=0
I would greatly appreciate any advice.
Many thanks,
Gareth

Be sure to check the namespace in your application.xml descriptor file.  It needs to support "http://ns.adobe.com/air/application/2.0" in order to access AIR 2 APIs at runtime.
Hope that helps,
Frank
AIR Engineering

Similar Messages

  • Flash Builder 4.5 the import could not be found

    I just upgraded from Flash Builder 4 to 4.5 and have imported  one of my FB 4 projects.  I am now seeing an orange question mark in  the gutter next to all of my import statements that are importing local  classes (as well as everywhere the said class methods are used) and an  orange underline appears under the import statement.  When I hover over  the underline it says that the import could not be found. 
    The class files do in fact exist and the project compiles and runs without a problem (I use ANT to build this project).
    If I open one of the class files in question then change something  (i.e press space bar) and hit save then go back to the file importing it  the orange question mark is gone for that import, I get the code assist  and CTL+Click links me to the class file.  However, if I close that  file and reopen it again cannot find the class file.
    The classes in question are stored under my project's src dir as:
    - src
      +---com
          +---myappname
              +---services
              +---utils
              etc...
    and my import statements look like:
    import com.myappname.utils.*;
    import com.myappname.services.remoteService;
    Any ideas?  Is this a FB 4.5 "enhancement"?  I've tried deleting and  re-importing the project, refreshing the project and am now kind of at a  loss of what to do.  It's annoying enough that I may need to downgrade  to 4.

    Thanks for the reply srvikram13, I really appreciate it.
    Unfortunately this did not solve my problem.  The application was developed in Flex sdk 4.1 and I have installed the 4.1 sdk and told the Flex Compiler to use that specific sdk to no avail (I even re-tried per your post, but no success).  The fact is that the project compiles fine with either 4.1 or 4.5 sdk, it just has issues finding the imorted classes until I manually open the class files.
    Further debugging and info:
    I actually thought I had it fixed for a second.  I renamed my "com" directory and right clicked on "src" and chose "New" > "Package" then repeated that for each directory under "com".  I then closed FB and in windows explorer copied my original com directories into the new one created by FB.  When I launched FB and opened the main file all my imports were recognized!  I then closed FB and re-opened again to see if it was truly fixed and ... epic fail.  The squiggly underlines are back and FB doesn't recognize any reference to them.
    I also found that even if I navigate to the class files in the Package Explorer then right click on the file and choose properties, then click cancel (never opening or changing anything) the reference to that specific file is now valid... at least until I close and reopen FB.
    Any other ideas?

  • On mac yosemite, when trying to install my own brushes, I get error message: "Could not load the brushes "blahblah.abr" because the file is not compatible with this version of PS" (PS CC 2014)

    Need help-
    On my mac with yosemite, when trying to install my own brushes, I get error message: "Could not load the brushes "blahblah.abr" because the file is not compatible with this version of PS" (PS CC 2014) ????

    Thank you station_two but I did install them in my
    applications>adobe>presets>brushes and still I get this error message......
    On Tue, Dec 2, 2014 at 6:20 PM, station_two <[email protected]>

  • Hi i can not install itune. There are the error show " Could not open key: Unknown\Components\32A7D634EB632D11CABB00087CCFBB48\DAEC106DF4E2BBB458CC2CA9C46 E3A0C.

    Hi,
    i can not install itune. There are the error show
    " Could not open key: Unknown\Components\32A7D634EB632D11CABB00087CCFBB48\DAEC106DF4E2BBB458CC2CA9C46 E3A0C. Verify that you have sufficient access to that key. or contact your support personal.
    I have tried some soution from the similar case to uninstall itune and also related components already but finally the probelm still occured.
    Please you help to suggest me what can i do?  I need to restore my back up data to the new iphone as the previous one got stolen.
    BR,
    Sirorath A.

    Try the following user tip:
    "Could not open key: UNKNOWN\Components\[LongStringOfLettersAndNumbers]\[LongStringOfLettersAndNumbe rs]" error messages when installing iTunes for Windows

  • Flash Builder 4 - The selcted wizard could not be started - FlexApolloProjectWizard

    Hello,
    I have a brand new eclipse installation. I downloaded the eclipse-jee-galileo-SR2-win32.zip from the eclipse website. And I downloaed the FlashBuilder_4_Plugin_LS10.exe from the Adobe Website.
    After unzipping the eclipse to d:\devide\eclipse35 and installing the Flash Builder into d:\devide\FlashBuilder4Plugin with the option to integrate it into the existing eclipse installation, it finished with no errors.
    Having Java 1.5 and FlashPlayer 10 installed I get this error here when I try to create a new FlexProject
    I also tried to install the Standalone version of the Flash Builder 4. I get the same error there.
    Also copying a working installation (Eclipse Folder and Flash Builder 4 Folder) from a computer where it works, I get the same error on my machine.
    Do I have to install AIR? Upgrade the FlashPlayer or what? I really dont know what else to try. Any suggestions on how to fix this?
    Thank you for any help.
    Carsten

    Hi,
    thanks for your anwser. I am trying to get hold on an Adobe engineer for over 2 weeks now. Non available on the phone. Whatever.
    I have that file in place. It is 26KB big and in the directory you pointed to.
    But I still get the error. Btw, we did a reinstall with local admin rights, the path is not FlashBuilder4Plugin. But still not working. And AIR 2.0 is not installed yet. The admins are still cheking if it is ok to install.
    Here is the screenshot
    The file on the laptop, where the FlashBuilder4Plugin installation works is slightly bigger. Its around 31kb. Both systems are WindowsXP.
    I try to copy the file from the laptop use that one on the PC. Maybe that helps. More on that later.
    Carsten

  • Installed new update iTunes Saturday - My file directory could not be found, so reset the directory path, 'it' asked me if I would like 'it' to re organise filing, I selected yes - Many tunes have been duplicated, some have disappeared. Any help?

    Hi,
    Installed a new update iTunes Saturday - My file directory could not be found, so I reset the directory path, and 'it' asked me if I would like 'it' to re organise my filing, foolishly (as a beginner, without checking)  I selected yes - Many tunes have been duplicated, some have disappeared? Trawled through lots of misleading help files, mailed friends, tried many back routes into Apple web sites and they all wasted my time. Can anyone help?
    I have discovered since then, that this resorce has been down over the weekend, which probably explains why I have had so many contradictory responses, so apologies if you all know what the prolem is.
    My question is, my TIME MACHINE (which has not been used yet) was tried but looked nothing like that of the U Tube demo, so I am assuming that it needs setting up, however, it has been saving, I just do not know how to recover the data. Can anyone help?
    Regads,
    Cyfrommayo

    (If you have a Time Machine backup, go to your User folder/Music/iTunes and select iTunes. Enter Time Machine and go to a backup of iTunes before the above happened. Then select 'Restore' on the bottom right.)
    Eric,
    Many thanks for your help.
    Apologies for not being as skilled as you. I am unable to see what you are saying, can I ask, should I be in TIME MACHINE when I go to User folder/Music?iTunes or iTunes or Finder?
    Cyfrommayo

  • AIR 2.6 SDK incompatible with Flash Builder 4?

    I just installed the new AIR 2.6 SDK but FB4 complains that every swc file in the libs folder is "incompatible with this SDK" when I switch to design view. The application compiles and runs fine, I just can't see it in design view in FB4.
    Is anyone else experiencing this issue? I tried deleting my Flash Builder 4 folder from C:\Users\<username>\ and restarting FB4 in case it was a dodgy profile, but it made no difference.
    Any help would be appreciated. Thanks in advance.

    from http://blogs.adobe.com/cantrell/archives/2011/03/how-to-use-air-2-6-with-flash-builder-4.h tml:
    Right-click on your project and choose "Properties".
    Select the "Flex Compiler" section.
    In the "Additional compiler arguments" field, add -target-player=11.
    Click "OK".

  • Which AIR SDK version does Flash Builder 4 come with

    I have both Flex Builder 3 and Flash Builder 4 and would like to experiment with the AIR 2 Beta SDK.
    Does Flash Builder 4 (since it's new) already come with AIR 2, or what do I do to have access to the AIR 2 SDK.
    I'm working with the Eclipse plugin edition if that makes any difference, but answers from non-eclipse users are equally appreciated.

    The SDKs you get from Adobe (unless specified) come with Air 1.5
    If you want the Air 2 beta SDK (http://labs.adobe.com/downloads/air2.html) You have to get the Flex SDK of choice (http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK) and the Air 2 SDK. You then overlay it on the Flex SDK (Using the instructions from the previous post)
    Keep in mind that we have no idea when Adobe will decide to release Air 2, so if you are developing for it, you might have to wait on your release until they are ready. On top of that, you cannot have a user auto-update from air2beta to air2release. Basically, you can only "play" with it for now

  • AIR for Apple iOS Support in Flash Builder is not installed.

    I've written an application in Flash Builder and I'm now attempting to get it running on an iPad.
    I am running on a Mac (OSX 10.6.7)
    I have FB 4.5 installed and downloaded the separate 4.5.1 update file successfully updated FB to 4.5.1.
    I have downloaded and installed AIR 2.7.
    I have downloaded and installed the AIR sdk.
    I have an iOS developer account and have created my developer certificatn p12 file, created an Apple Id for my application and a provisioning profile.
    I created a new "ActionScript Mobile Project" for my application and enabled the Apple iOS platform.
    I have entered my certificate and provisioning information into FB.
    I created a "Debug Configuration" for my project.
    When I run my debug configuration, I am prompted for my Certificate Password (which I enter).
    I then receive a pop-up message with the following error:
    "AIR for Apple iOS Support in Flash Builder is not installed. To enable packaging support for Apple iOS follow these instructions."
    The link for the instructions links to the following knowledge base article:
    http://kb2.adobe.com/cps/899/cpsid_89938.html
    I have Flash Builder as a part of the CS5.5 Web Premium (on DVD), which does not appear to have a "AIR for Apple iOS Support" option during the FB installation.
    So I followed the manual installation steps provided (although copying the described folders to my sdks/4.5.1 folder (rather than the sdks/4.5 folder).
    However, doing the above did not resolve the issue. I still get the same error message as before.
    Has anyone else encountered this issue, or have any suggestions on how to resolve it?
    Thanks in advance.

    In case anyone else runs into this issue:
    This problem was solved in this other thread in the Adobe AIR Installation Issues forums:
    http://forums.adobe.com/thread/867868?tstart=0
    Craig.

  • Overlaying adobe air sdk 13 in flash builder 4.7

    After overlaying adobe air sdk 13 in flash builder 4.7 I have followed the step mentioned on adobe site.
    i am getting lots of error in flash builder 4.7 after overlaying.
    Can anyone please suggest me how to get it done for flex mobile project.

    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.

  • 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

  • Unable to install adobe flash builder 4.5

    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 14 error(s), 7 warning(s)
    ----------- Payload: {ED28819E-310F-4F17-925C-C69B0A1C1F7F} Suite Shared Configuration CS5.5 2.5.0.0 -----------
    ERROR: DW062: Unable to locate folder for token UserFavorites
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ----------- Payload: {067E43CD-3E9C-44BA-89FA-EDE7461BC22B} AIR for Apple iOS support (FB) 2.6.0.0 -----------
    ERROR: DW062: Unable to locate folder for token UserFavorites
    ----------- Payload: {1B4483F2-849C-4AC3-99B1-473FFC0192DD} Adobe Flash Builder 4.5.0.0 -----------
    ERROR: DW062: Unable to locate folder for token UserFavorites
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - AIR for Apple iOS support (FB): Install failed
    ERROR: DW050:  - Adobe Flash Builder: Install failed
    ERROR: DW050:  - Adobe Flash Player 10 Plugin: Install failed
    ERROR: DW050:  - Adobe Flash Player 10 ActiveX: Install failed
    ERROR: DW050:  - Adobe Flash Builder 4.5: Install failed
    ERROR: DW050:  - AdobeTypeSupport CS5: Install failed
    ERROR: DW050:  - AdobeHelp: Install failed
    ERROR: DW050:  - AdobeCMaps CS5: Install failed
    ERROR: DW050:  - Adobe Player for Embedding 3.2: Install failed
    ERROR: DW050:  - Suite Shared Configuration CS5.5: Install failed
    these errors are shown while installing  adobe flash builder 4.5 on windows vista. plz help me to install it .

    i'm having the same problem!
    my OS is windows 7 32 bits...i'm following the instructions for every single forum but it's not solved and i can't install adobe flash builder yet...
    Help is appreciated!

  • Flash Player Debugger 11.5 wont install for Flash Builder 4.6

    I've tried installing the Flash Player Debugger 11.5 but I can't find where it's installing and Flash Builder 4.6 will only use Flash Player Debugger 11.2 whenever I test. And after installing FB 4.7, images in my swf are missing when testing in FB 4.7 and FB 4.6. Everything worked fine right up to installing FB 4.7 and AIR 3.6.
    Any help?

    Thanks for your answer...
    Well, when the video begins, he locks even in quality 480p, in 720p the video stops  and when is exhibited the video appears without synchronization with the audio.  It´s sounds like the videois too heavy to the computer. The process of the computer stay in 100% continuously. 
    My computer:-
    PS:- My computer:-
    Mother Board:- GA-8TSR350MT
    Processor:- Pentium 4 - 2,80Ghz - Single Core - FSB 533
    Ram:- 2Gb - DDR1 - 400Mhz
    Graphics:- RADEON X1650 - 512Mb - AGP
    Windows XP SP2
    Browser:- Firefox 17b7
    Internet conection :-20Mb
    Site:- http://www.youtube.com/watch?v=JSAyRWMPXZY&feature=related
    and all others youtube videos
    With version 11.5.500.97 the video plays normally, the lacs were minimal, barely imperceptible. 
    This in any of the browsers that I use, Firefox and Internet Explorer

  • Install "Adobe Flash Builder 4.6 Plug-in Utility" error

    Dear expert:
            I am a newer to flashbuiler, When I install "Adobe Flash Builder 4.6 Plug-in Utility",It always told me "Adodb Flash Builder requires Eclipse 3.6 or later", but the version of my eclipse is 4.2. Why comes this? What should I do? It tangled me a whole day. Please help me solve the question. Thank you very much.
          phpafstdio
          2012/11/11
    [ email address removed by forum host ]

    Ask in the FB forum.
    Mylenium

  • I want to buy Adobe Creative Suite 6 Master Collection Chinese version,but Flash Builder is English version in it, May I change this software to Chinese version?

    I want to buy Adobe Creative Suite 6 Master Collection Chinese version,but Flash Builder is English version in it, May I change this software to Chinese version?

    There is no reason to do that. You can buy a legitimate copy of the product from Adobe.
    If the price is too good to be true, it's too good to be true. Caveat emptor.

Maybe you are looking for

  • No optical out on Creative sound blaste

    I am looking for?a new sound card but cant find an optical out on any model. Why?

  • Any sign of a Balance control in new iPods

    Does anyone know if any of the new iPods feature a balance control? I did the usual feature request thing to Apple a while back and I know that others here have done the same. I find it hard to believe that furnishing iPods with a left/right balance

  • Change document type NB to ZNB

    Hi,              For feight charges,SD PO automatically created by system with docment type NB. During creating PO by system, we want to  maintain docmument type as 'ZNB' instead of 'NB'. Can somebody throw some light on this issue ? With Regards, Ja

  • Draw on TiledImage as one unified image, still managing memory using tiles

    what I am looking for is **exactly** this http://www.garayed.com/java/186952-question-about-tiledimage-graphics2d-jai.html "(...)How do I create an arbitrarily large TiledImage from scratch (lacking a source image) and draw onto it using the TiledIma

  • First Applet

    Hello I just started a Java programming class and this is my first post I tried running this Applet from our book but get the error "java.lang.NoSuchMethodError: main Exception in thread "main". // Fig. 3.9: WelcomeApplet2.java // Displaying multiple