this is the current site for ADT commands. follow the link to the subsection on ADT package commands.
if you are packaging for AIR 2.7, you will need to change the myApp-app.xml file to reflect the SDK version:
<?xml version ="1.0" encoding="utf-8" ?>
<application xmlns="http://ns.adobe.com/air/application/2.7">
...
packaging AIR apps is super easy - don't let the command line frighten you.
if you're on a Mac you can drag and drop files into Terminal instead of having to write out their complete path. start by dropping onto the command line AIR SDK > bin > adt, followed by:
–package -storetype pkcs12 -keystore
now on the same line, drag in your cert.p12 file, followed by what you want to name your air package, IE "myApp.air", followed by your application discriptor .xml file, your .swf file and any other files related to the package (such as your application icon). make sure there is a space between each command line argument.
the complete command will look something like this:
[dropped ADT file path] –package
-storetype pkcs12 -keystore [dropped cert.p12 file path] myApp.air [dropped
myApp-app.xml file path] [dropped
myApp.swf file path] [dropped
myIcon.png file path]
then hit return, enter the password for your cert.p12 file, and ADT will package your AIR application according to the current director of Terminal, or you can also supply a path for your myApp.air argument and it will be written there, IE: /Users/me/Desktop/myApp.air