IntelliJ 12.1 and Flex 4.10.0 Sample App Dies

Hi All

With a brand new module in IntelliJ 12.1 and FLex 4.10.0 I get the following error when trying to launch an air app:

[AIR Debug Launcher]: error while loading initial content
Player connected; session starting.
Player session terminated
[AIR Debug Launcher]: Process finished with exit code 1

Is this a problem with IntelliJ or with Flex?

Comment actions Permalink

Most probably IntelliJ IDEA 12.1 failed to detect AIR version (this problem is already fixed in IntelliJ IDEA 13 EAP). In IntelliJ IDAE 12.1 you need to add correct swf version (-swf-version=XX) at Project Structure | Modules | [your module] | [your build configuration subnode] | Compiler Options tab and create custom AIR descriptor template witj correct AIR version at AIR Package tab (or Android and iOS tabs in case of mobile project).

Comment actions Permalink

That's fixed it. Thanks very much.


Please sign in to leave a comment.