Compilation terminated with error on unknown file Follow
Answered
Here when i compile my adobe air application i am getting errors on a file that not exist in my project library. The file name is
{myprojectname}_Styles.as and the error is Error code: 1084: Syntax error: expecting rightparen before s.
the same error is reported on some other not existing file also. How can i get out of from the issue.
IDE details.
Please sign in to leave a comment.
Hello,
Is it possible to provide sample project example for investigation?
This is a client project and i am not permitted to share this. But this project is working fine in another PC's
Is it reproducible with new sample project?
As far as I understand, Flex compiler generates Foo_Styles.as file in memory during the compilation of Foo.as (or Foo.mxml). So I suggest to check Foo.as (Foo.mxml) file and play with its sources to detect which parts affect these error messages.
@Alexander Doroshko
Ya i have a file like this foo.mxml . But even if i have commented all the contents from that file . this error occurs again
I can check your project structure if you attach .idea folder + all *.iml files zipped.
Or I can check the whole project if it is possible to attach a sample project where the issue can be reproduced.
If you can't attach anything I'd suggest to try to bisect the problem. As soon as you have a project where the problem occurs and a project where it doesn't, modify one of them (or both) to catch the moment when the problem appears (or disappears). The clue should be either in code or in the project setup.
here is my .idea folder https://drive.google.com/open?id=1tfHK66zlpBic96OV8pobXQevq1xYBxna
iml files : https://drive.google.com/open?id=14EZX3JZmMCYfg0dxToTUzl4gOBwIFi3c
The same code is working on some other pc's but the problem occurs in my pc only
It looks like .idea folder and iml files are from different projects.
.idea/modules.xml file contains a reference to one module file called HomeWAV.iml but you've uploaded 2 different iml files: flash.iml and Myproject.iml. Please attach HomeWAV.iml.
Here is HomeWAV.iml : https://drive.google.com/open?id=1VprCMncYV6lLT47CT3Fqmabpsbb2Pfvr
Thanks,
In my app i need one mx.swc (I:/sdk's/air_30/frameworks/libs/mx/mx.swc) to import some packges. I have removed other two.
The screenshot would be more interesting if the SDK node was expanded, but I guess everything is fine there.
I'll be able to help further only if I manage to reproduce the problem in my environment. So far I failed to. So the best thing I can suggest is to create a copy of the project and remove parts of it until the problem disappears, thus trying to find the root cause.
I have tried the same in another pc and it is working. and i am ok with it. Anyway thanks for your help and time.