I ran into a problem today trying to use ANT to publish the same AIR application to BlackBerry and Android at the same time. Basically, when I used Flash Builder Burrito to push directly to a device for either platform it worked perfectly. When I did it via the ANT script I just got a white screen.
The cause: I had the wrong config loaded. I had air-config.xml as the configuration, and needed airmobile-config.xml as the configuration.
Took me a bit, but I figured it out. So if you’re looking to compile your Hero apps via ANT, use the right config.
you can also set the configname argument in mxmlc as below:
LikeLike