How can I change the playerglobal.swc version?
I'm trying to build AIR library (swc) with GradleFX and I'm failing due to this error:
Caused by: java.lang.Exception: compc execution failed: command line: Error: unable to open '/Applications/Apache Flex/Flex4.12.1_AIR13.0/frameworks/libs/player/11.1/playerglobal.swc'
I ran compileFlex with -debug and I saw this line:
'-external-library-path+=/Applications/Apache Flex/Flex4.12.1_AIR13.0/frameworks/libs/player/{targetPlayerMajorVersion}.{targetPlayerMinorVersion}/playerglobal.swc'
but simply setting targetPlayerXVersion did not seem to have any affect.
How can I change it to version 13.0 ?
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 09 Aug, 2014 09:30 AM
Can you try to specify the target-player option like this:
2 Posted by ido.ran on 09 Aug, 2014 09:40 AM
Yes! :)
This seem to work and I was able to successfully build the swc file.
Now I'm moving on to the bigger issue, compiling application that depends on that library.