The initial problem is not a problem as soon as you follow precisely the steps, 
especially those ones:

4- Click on Compiler Options
5- Click on Module Defaults
6- Remove the default en_US local
7- In Default options for modules, add: 
-load-config+=<FLEXJS_INSTALL_FOLDER>\ide\IDEA\intellij-config.xml


I took your project, seen you applied the above steps to Project instead of 
Module, that's still very find, except you didn't remove the default local and 
you added a Default options in the Module Defaults, I cleared it, after those 
fixes, I've been able to build and run the App in a mobile simulator.

Frédéric THOMAS

> Date: Tue, 25 Aug 2015 00:10:23 -0700
> From: [email protected]
> To: [email protected]
> Subject: RE: Can FlexJS Be Used for Mobile AIR?
> 
> To get around my initial problem I copied
> 
> C:\dev\flexjs\frameworks\libs\Mobile.swc
> to
> C:\dev\flexjs\frameworks\themes\Mobile\mobile.swc
> 
> IJ now complains about
> 
> Error:[MobileArabic2]: : java.lang.NullPointerException: Main compilation
> unit can't be null    at
> com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229)
> 
> The IJ  project (essentially MobileTrader example setup for AIR) is
> available  here
> <https://onedrive.live.com/redir?resid=CF33E75095D2FE01!5075&authkey=!AJ4kPg9mAUiJPu4&ithint=file%2crar>
>  
> if anyone cares to have a look.
> 
> Thanks for all the responses so far. I've looked at Peter's mobile classes
> and they look like a good start for what I need.
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://apache-flex-users.2333346.n4.nabble.com/Can-FlexJS-Be-Used-for-Mobile-AIR-tp11022p11034.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
                                          

Reply via email to