Previously, I used the Aptana2 + AIR plug-in for the development of AIR. The interface operations did bring great convenience, but unfortunately, Aptana was updated to 3, and then ...... Then the AIR plug-in is not supported, and the AIR plug-in is not updated ...... Download the SDK and install it by yourself. Click here: www. adobe. comdevnetairair-sdk
Previously, I used the Aptana2 + AIR plug-in for the development of AIR. The interface operations did bring great convenience, but unfortunately, Aptana was updated to 3, and then ...... Then the AIR plug-in is not supported, and the AIR plug-in is not updated ...... Or download the SDK to install it yourself, click here: http://www.adobe.com/devnet/air/air-sdk
Previously, I used the Aptana2 + AIR plug-in for the development of AIR. The interface operations did bring great convenience, but unfortunately, Aptana was updated to 3, and then ...... Then the AIR plug-in is not supported, and the AIR plug-in is not updated ......
Download the SDK and install it by yourself. "Click here: http://www.adobe.com/devnet/air/air-sdk-download.html" to download it. The official installation instructions are relatively simple:
The ADL and ADT toolkit are included in the bin folder of the air sdk. Add the PATH of this folder to the path environment variable.
Install SDKwindows
First, decompress the SDK to the directory you want, such as the "C: \ AIRSDK" directory, and right-click the "my computer" icon-> properties-> advanced-> environment variables. Find the environment variable named "path" on the interface (we recommend that you back up the content first) and add;C:\AIRSDK\bin
(Note that the preceding ";" is a separate area ). Then press "win + r" and entercmd
Press enter and enteradl
If the path is set correctly, the command line displaysadl
Command help information.
Mac
For installation under mac, you can see "here: keystore, the principle is the same. Add the SDK installation directory to the system path, and then you can call it. A brief description of the process is as follows:
First, decompress the SDK to the directory you want, such as "/Users/ghostzhang/AIRSDK", and then open the Terminal (/Applications/Utilities/Terminal). If you enteradl
"-Bash: adl: command not found" is displayed, because the command cannot be found. Enter the following command
export PATH=$PATH:/Users/ghostzhang/AIRSDK/bin
Add the SDK bin directory in the PATH of the system variable (the separator for multiple paths is ":"). Enteradl
If the help information of adl appears, it indicates that the configuration is correct. Otherwise, you need to check the path again.
Unlike windows, the terminal is set to temporary, and the previous settings are reset after the terminal is re-opened. The solution is to write this setting to the system configuration file. You can read the above article. Here we will briefly describe the process.
~ /. Profile: each user can use this file to enter the shell information dedicated to his/her use. When a user logs on,
The file is executed only once! By default, it sets some environment variables and then executes the user's. bashrc file.
~ /. Bashrc: This file contains bash information dedicated to your bash shell. When you log on and every time you open a new shell,
The file is read.
Enter
cd ~ls -a
Check whether ". profile" is found. If not, create it first.
pico .profile
The Editor interface is displayed. Enter "export PATH = $ PATH:/Users/ghostzhang/AIRSDK/bin 』, press ctrl + x-> y-> press enter, and then use ls-a to see 『. profile.
If the ". profile" file exists, you can simply enter
open -e .profile
Add "export PATH = $ PATH:/Users/ghostzhang/AIRSDK/bin" to the file and save it.
After completing the above work, either restart the system or run the following command to make the settings take effect.
. .profile
Note "." in front of the file. At this point, the AIR environment is ready. You can use the air sdk to create the first HTML-based AIR application.
Original article address: Use Adobe air sdk to build an AIR Development Environment (HTML + Javascript) [1]. Thank you for sharing it.