Issue getting Air SDK 16
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'
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
Support Staff 1 Posted by Yennick Trevels on 19 Apr, 2015 09:55 AM
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.
Support Staff 2 Posted by Yennick Trevels on 12 Jul, 2015 08:53 AM
I think I've tracked down this issue. See my last comment in this ticket: https://github.com/GradleFx/GradleFx/issues/185
Yennick Trevels closed this discussion on 12 Jul, 2015 08:53 AM.