abnormal frequency of having "Error: unable to open 'C:\Users\root\.gradle\gradleFx\sdks\092a5248d9cdfbafbb644b10b0ea2ed7adfd06e9\frameworks\libs\player\11.1\playerglobal.swc'."
Although I explicitly specify the version of target player
("-target-player=12.0") in additionalCompilerOptions,
50% of chance is successful to build with 12.0/playerglobal.swc and
fails with Error: unable to open
'C:\Users\root.gradle\gradleFx\sdks\092a5248d9cdfbafbb644b10b0ea2ed7adfd06e9\frameworks\libs\player\11.1\playerglobal.swc'.
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 07 Mar, 2014 07:12 AM
Hi,
I guess you're still using the standalone AIR SDK without Flex, right?
It's strange that the 11.1 version is shown there, because we never reference that explicitly in our code (except here https://github.com/GradleFx/GradleFx/blob/7c160f4ab68b1d62109349826..., but that shouldn't matter I think). And the latest AIR SDK's config.xml files all reference 12.0. Can you try to find out where that 11.1 version comes from?
2 Posted by wood on 07 Mar, 2014 12:36 PM
Let me find it and try to fix it for you
3 Posted by wood on 07 Mar, 2014 03:54 PM
FYI. I decompiled the compiler.jar and I found two consts, majorVersionTarget(11) and minorVersionTarget(1), in com.adobe.flash.compiler.config.Configuration
Support Staff 4 Posted by Yennick Trevels on 10 Mar, 2014 08:19 AM
Ok, so that explains where the version is coming from. Now we have to figure out why it's using that one instead of your supplied target-player version.
Can you post the output of the options being used during the compile?
Also, is it still the following configuration you posted earlier in another thread?
5 Posted by wood on 10 Mar, 2014 01:40 PM
Of course, 50% of chance is successful to build. I also did a test with directly using compc and it has the same issue. I can conclude this must be adobe issue
Support Staff 6 Posted by Yennick Trevels on 10 Mar, 2014 02:11 PM
I'm not sure this will solve the issue, but I noticed in the thread below that you're using MacOS and the AdobeAIRSDK.zip file (and also the AIR SDK repo location mentions "win"). The zip file is intended for Windows users, while the tbz2 file is intended for MacOS.
http://support.gradlefx.org/discussions/problems/106-compc-executio...
In another thread someone else had a similar (but slightly different) problems which was also caused by switching up the SDK versions.
http://support.gradlefx.org/discussions/problems/94-problems-with-f...
So I suggest you try to use the MacOS version of the AIR SDK and see if that fixes the issue.
7 Posted by wood on 10 Mar, 2014 02:24 PM
I did use Mac Version
See my last updated post. I run "compc" directly and it has the same issue