androidiossdkairfdt

Compile with Apache Flex SDK4.8.0, AIR3.4 and FDT5.6.2 yields "unable to open '{airHome}/frameworks/libs/air/airglobal.swc'"


I downloaded the Apache Flex 4.8.0 SDK and added the TLFTextField and OSMF dependencies. I then installed the SDK into FDT 5.6.2 and merged the AIR 3.4 SDK into the newly added SDK with no complaints.

I updated the AIR app descriptors to accommodate the bump of AIR 3.3 to AIR 3.4, the projects yields no errors nor warnings.

Doing a debug compile for iOS outputs the following: (Note the ERROR line)

Starting Full Build of SteadyEddieApp.
Compiler arguments:
  -output 
    D:\steady-eddie-app\bin\SteadyEddieApp.swf
  -+configname=air +flexlib=
    D:\utils-adobe\flex-sdks\4.8.0.win\frameworks
  --compiler.debug=true
  --debug-password=
  --compiler.source-path+=
    D:\steady-eddie-app\src,
    D:\steady-eddie-app\src_3rdParty
  --compiler.library-path+=
    D:\utils-adobe\flex-sdks\4.8.0.win\frameworks\libs\air\airglobal.swc,
    D:\utils-adobe\flex-sdks\4.8.0.win\frameworks\libs\core.swc,
    D:\utils-adobe\flex-sdks\4.8.0.win\frameworks\libs\osmf.swc,
    D:\utils-adobe\flex-sdks\4.8.0.win\frameworks\libs\textLayout.swc,
    D:\utils-adobe\flex-sdks\4.8.0.win\frameworks\libs\air\servicemonitor.swc,
    D:\steady-eddie-app\lib\Assets.swc,
    D:\steady-eddie-app\lib\as3-signals-v0.9-BETA.swc,
    D:\steady-eddie-app\lib\greensock.swc,
    D:\steady-eddie-app\lib\robotlegs-framework-v1.5.2.swc,
    D:\steady-eddie-app\lib\AssetLoader-v2.5.1.swc,
    D:\steady-eddie-app\lib\gestouch-0.4-alpha.swc
  -static-link-runtime-shared-libraries=
    true
  -target-player=11.1
  -library-path+=
    D:\utils-adobe\flex-sdks\4.8.0.win/frameworks/locale/en_US
  -default-size=550,400
  -- 
    D:\steady-eddie-app\src\com\steadyeddieworld\app\SteadyEddieApp.as

INFO Loading configuration file D:\utils-adobe\flex-sdks\4.8.0.win\frameworks\air-config.xml

ERROR D:\utils-adobe\flex-sdks\4.8.0.win\frameworks\air-config.xml[64]:
unable to open '{airHome}/frameworks/libs/air/airglobal.swc'

      </external-library-path>
^

Pure build time: 246 ms. 
Save compiler information in 2 ms. 
Clean compiler information in 0 ms. 
Could not create file D:\steady-eddie-app\bin\SteadyEddieApp.swf.
Build failed.

Not sure what's causing the problem, any help would be great.

Thanks


Solution

  • </external-library-path> has to do with the compiler configuration. I would guess something get misconfigured when trying to assemble the SDK by hand.

    Try using the Apache Flex installer. It will set it up for you.

    ...side note:

    I updated the AIR app descriptors...

    Why did you do this? I don't believe anything changed in the basic descriptor from AIR 3.3 3.4. Also, merging the SDK will automatically update the template - descriptor files. FDT will draw the latest from the AIR SDK which is installed.

    That may not be an issue in your case, but it is interesting....