Wrong flashplayer version
Using this config http://pastebin.com/KYddJHjk, but gradle downloads 16.0 version of flashplayer instead of 17.0. Packaging fails with this error:
> java.lang.Exception: compc execution failed: Loading configuration file /Users/belkamac/.gradle/gradleFx/sdks/1ab70a6693d936f37a59a075597e6d550b6ebc8c/frameworks/flex-config.xml
Apache Flex compc (Component Compiler)/Users/belkamac/.gradle/gradleFx/sdks/1ab70a6693d936f37a59a075597e6d550b6ebc8c/frameworks/flex-config.xml(65): Error: unable to open 'libs/player/17.0/playerglobal.swc'
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 15 Apr, 2015 04:31 PM
GradleFx currently only installs the default playerglobal swc, the one which is also installed with the official Flex SDK installer provided by Apache.
It downloads this based on this file: http://flex.apache.org/sdk-installer-config.xml
Therefore you probably only see a 11.1 version and not a 17.0 version.
So if you currently want to have the 17.0 version installed, then you'll have to implement that in your buildscript. I'll have a look if this is something that can be implemented in GradleFx itself, but I can't promise anything at this moment.
2 Posted by n.fospam on 16 Apr, 2015 08:52 AM
I don't think that gradlefx downloads it according to http://flex.apache.org/sdk-installer-config.xml because i have 16.0 player version in the downloaded sdk.
Support Staff 3 Posted by Yennick Trevels on 19 Apr, 2015 09:37 AM
GradleFx isn't downloading the 16.0 player version, this comes with your AIR SDK. I've noticed that the latest AIR SDK comes with player version 17.0, so just switching to that one might solve your problem.
Yennick Trevels closed this discussion on 12 Jul, 2015 09:02 AM.