Error: unable to open '{airHome}/frameworks/libs/air/airglobal.swc'

tyutchev.alex's Avatar

tyutchev.alex

21 Jul, 2013 07:33 PM

Hi!

I am new to gradle and gradefx. My goal is to migrate AIR building process to gradle from flexmojos.
I downloaded gradle 1.6 and examples from GradleFx-Examples. I am most interested in possibility to build air application
without any configuration on developers machine (flexmojos worked like this), so I tried to build "sdk-autoinstall example"
like
sdk-autoinstall> gradle clean package
but I got following error:
~/.gradle/gradleFx/sdks/c5c5e2cefab4592fdd665fac496d965a7dbb9935/frameworks/air-config.xml(64): Error: unable to open '{airHome}/frameworks/libs/air/airglobal.swc'

I tried to modify gradlefx version to 0.6.3 and 0.6.4 but every time it was same problem. Can you explain what I am doing wrong or how it can be fixed?

  1. Support Staff 1 Posted by Yennick Trevels on 24 Jul, 2013 04:28 PM

    Yennick Trevels's Avatar

    Hi,

    First, sorry for the late response, but this has probably slipped through the cracks. I somehow didn't get a notification about this thread.

    I think the problem is the extension of the Flex dependency. You're probably not working on MacOSX, so instead of 'tar.gz' it should have 'zip' as an extension.
    So in the build.gradle file of the example, you'll have to change

    flexSDK group: 'org.apache', name: 'apache-flex-sdk', version: '4.9.0', ext: 'tar.gz'
    

    to

    flexSDK group: 'org.apache', name: 'apache-flex-sdk', version: '4.9.0', ext: 'zip'
    

    This is something specific to the Apache Flex SDK.

  2. 2 Posted by tyutchev.alex on 29 Jul, 2013 08:29 AM

    tyutchev.alex's Avatar

    Yeah I already figured it out, checking other threads here, thank you.

  3. Yennick Trevels closed this discussion on 29 Jul, 2013 10:58 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac