Issue getting Air SDK 16

Bruce's Avatar

Bruce

16 Apr, 2015 10:32 PM

I get the following error for my build.gradle.
> Could not resolve all dependencies for configuration ':airSDK'.
   > Could not resolve com.adobe:AdobeAIRSDK:16.0.
     Required by:
         :GradleProject:unspecified
      > Could not parse Ivy file http://download.macromedia.com/air/mac/download/16.0/AdobeAIRSDK.tbz2
         > Content is not allowed in prolog.

build.gradle below.

// SETUP FLEX PLUGIN
buildscript {
  repositories {
    mavenCentral()
  }
  dependencies {
    classpath group: 'org.gradlefx', name: 'gradlefx', version: '1.1'
  }
}
apply plugin: 'gradlefx'
// SETUP PROJECT
import org.apache.tools.ant.taskdefs.condition.Os

//SETUP FLEX SDK
repositories {
  ivy {
    name 'Apache Flex'
    // pattern for url http://archive.apache.org/dist/flex/4.9.0/binaries/apache-flex-sdk-4.9.0-bin.zip
    artifactPattern 'http://archive.apache.org/dist/flex/[revision]/binaries/[module]-[revision]-bin.[ext]'
  }
  ivy {
    name 'Adobe Air SDK'
    artifactPattern Os.isFamily(Os.FAMILY_WINDOWS) ?
                            'http://download.macromedia.com/air/win/download/[revision]/[module].zip' :
                            'http://download.macromedia.com/air/mac/download/[revision]/[module].tbz2'
  }
}
sdkAutoInstall {
  showPrompts = false
}
dependencies {
  flexSDK group: 'org.apache', name: 'apache-flex-sdk', version: '4.14.0', ext: Os.isFamily(Os.FAMILY_WINDOWS) ? 'zip' : 'tar.gz'

}

type = 'air'

  1. Support Staff 1 Posted by Yennick Trevels on 19 Apr, 2015 09:55 AM

    Yennick Trevels's Avatar

    I can't seem to replicate this issue. Strange thing is that the link in the error message is working.
    In the code you pasted here, it's missing the airSDK dependency, but I guess it's there in your code given the error message.

  2. Support Staff 2 Posted by Yennick Trevels on 12 Jul, 2015 08:53 AM

    Yennick Trevels's Avatar

    I think I've tracked down this issue. See my last comment in this ticket: https://github.com/GradleFx/GradleFx/issues/185

  3. Yennick Trevels closed this discussion on 12 Jul, 2015 08:53 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

Recent Discussions

24 Jun, 2017 02:18 PM
10 Jun, 2017 04:16 PM
24 Mar, 2017 07:10 PM
19 Mar, 2017 04:39 AM
22 Jan, 2017 07:46 AM

 

11 Oct, 2016 01:18 PM
20 Sep, 2016 04:36 PM
06 Sep, 2016 08:05 PM
03 Aug, 2016 11:15 AM
01 Jun, 2016 05:20 PM
03 May, 2016 09:17 PM