I just added the newest SDK of Apache Flex (4.12.1), as3corelib, OSMF and playerglobal14_0 to my library and and setup a simple Flash "Hello World"-project (default). The code inspection shows no errors whatsoever. I am working with IntelliJ IDEA 13.1.3 on Ubuntu 14.04 LTS
However, compiling with the built-in shell fails with
Error:[TestFlex]: java.net.SocketTimeoutException: Accept timed out
Error:[TestFlex]: Exception in thread "main"
Error:[TestFlex]: java.lang.NoClassDefFoundError: flex2/tools/VersionInfo
at com.intellij.flex.compiler.FlexCompiler.<clinit>(FlexCompiler.java:19)
Caused by: java.lang.ClassNotFoundException: flex2.tools.VersionInfo
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 1 more
Compiling with Mxml/compc fails with
Error:[TestFlex]: Could not find or load main class flex2.tools.Mxmlc
Any ideas?