Can't add library dependencies on import flash modules
I seem to be having trouble adding libraries as dependencies to modules in my Flex project on imported modules.
I cloned a git repo of a project. Then I created a new project, and then imported a Flex module. Intellij successfully found all of the sources and the libs folder with a lot of SWC files. It even asked me to add them as a dependency to the imported module.
I've added a screen recording that can be viewed with the below link.
http://45.55.0.109/video/library-dependencies.webm
I've tried a couple of methods. Any time this happens, I can delete the libraries and re-add them and then I can add them as dependencies as normal. Has anyone else run into this? I believe this has happened every single time I've ever imported a Flex project/module
Kyle
请先登录再写评论。
It looks like auto-importing doesn't work perfectly for Flash/Flex projects. Probably auto-created libraries have the wrong type. You may delete them and create again manually as ActionScript/Flex library. You'll be able to add them as dependencies then.