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/
- export PATH=$PATH:/Users/chengyue/Documents/Software/Adobe/AirSDK/AdobeAIRSDK/bin
Now, try the following command to see if it works.
- adt -version
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.
the AdobeAIRSDK/bin in the output.
Congrats!
FYI, you can check the former answer to this problem from Adobe:
No comments:
Post a Comment