Mar 11, 2012

Install Adobe Air SDK on a Mac


1. Download sdk from here:
  • http://www.adobe.com/devnet/air/air-sdk-download.html
2. extract the downloaded file to a location, and here is mine:
  • /Users/chengyue/Documents/Software/Adobe/AirSDK/AdobeAIRSDK/
3. Add the "bin" folder under the AdobeAIRSDK to your mac's PATH.
  • export PATH=$PATH:/Users/chengyue/Documents/Software/Adobe/AirSDK/AdobeAIRSDK/bin
Now, try the following command to see if it works.
  • adt -version
If you followed the steps above, you should see the version displayed on your screen.
Not?go back and check!
4. if your don't want to execute the export command every time you restart your system, then create a .bash_profile under your home folder, mine is "/Users/chengyue/.bash_profile"
  • cd
  • vi .bash_profile
  • write down the command, save it and quit.
5. (optional) Shift to your terminal, and start a new shell, try "echo $PATH", you should see
the AdobeAIRSDK/bin in the output.

Congrats!

FYI, you can check the former answer to this problem from Adobe:

No comments:

Post a Comment