Currently i am building an android app with native extension. Well for those who are new to building native extension, here is a good article to refer:developing-native-extensions-air.
When you are building native extension, there are too many manual processes to do before you can run your application. So here i wrote an ant script which does all the build process for you. Obviously, you need to change the path of each of your build variables according to your settings.