I am building a copywritten application that leverages Adobe AIR as it's compiler and Project SDK. All code is written in pure ActionScript 3 and several sources rely on three other frameworks in order to function (in the form of SWC libraries), which were recognized by IntelliJ in the 2017 versions, but no longer recognized after updating to 2018.2.4.
Specifically, the imports for those three different frameworks inside the source files are no longer recognized, so the IDE is showing errors & warnings for missing the methods & classes that those imports are referencing.
What I have tried:
- Removing the dependencies from the module, then re-adding them exactly like before, as ActionScript classes... They are SWCs containing ActionScript classes, I can successfully browse each SWC from within the IDE and see the classes. IntelliJ doesn't recognize them for my project sources though.
(Under 'Project Structure' window, I confirmed that the framework SWC libraries exist under "Libraries" and also exist under "Module -> Dependencies")
- Copying the SWCs to a 'lib' folder in my Project directory, and then referencing those ones from the Project Structure instead of the ones that were in a more remote directory on my Filesystem.
- Adding the SWCs to the Platform SDKs and Global Libraries in the Project Structure window
- File -> Invalidate/Restart, then clicked "Invalidate & Restart" button
I have run out of ideas to try to remedy this situation and could use some suggestions.
The ONLY classes & methods that are recognized in my project sources is the classes & methods provided by the selected Project's SDK, which I also use for compilation: Adobe AIR SDK 31.0
Why is IntelliJ always so finicky when it comes to adding dependencies? I just don't understand why it refuses to recognize them. I vaguely remember running into a similar issue with dependency recognition in older IntellIJ Ultimate versions, but this one takes the cake.
Has IntelliJ Ultimate stopped supporting SWC libraries for dependency?.......