I. Building a Flex + AIR Development Environment FlexBuilder is a paid version that currently only supports the development of Flex IDE on the Windows platform (it is said that FlexBuilderforLinux was developed at the beginning, but then it died, helpless !), However, it is very easy to use, including code highlighting, code auto-completion, debugging and running, WYSIWYG interface design, and AIR release. Therefore, I did not consider other solutions and directly sought for a solution. Because the program is developed in Windows and runs in Ubunt
1. Establish a Flex + AIR Development Environment
FlexBuilder is a paid version and currently only supports the development of Flex IDE on Windows platform (it is said that FlexBuilder for Linux was developed at the beginning, but then it died, helpless !), However, it is very easy to use, including code highlighting, code auto-completion, debugging and running, WYSIWYG interface design, and AIR release. Therefore, I did not consider other solutions and directly sought for a solution.
Because the program is developed in Windows and runs on Ubuntu, You need to download the Adobe AIR Runtime of the two platforms:
Adobe AIR for windows: http://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe
Double-click to install.
Adobe AIR for linux: http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin
Go to the download directory and execute:
Chmod + x AdobeAIRInstaller. bin &./AdobeAIRInstaller. bin
Start installation.
Download FlexBuilder: http://download.macromedia.com/pub/flex/flex_builder/FB3_win.exe (Size: 438.49 MB)
Double-click the installation. The system prompts you to enter the registration number (SN) and select one from the following:
1377-4168-2018-0771-2432-1495-
1377-4760-3354-0772-2773-8996-
1377-4165-2080-7265-7813-8901-
1377-4964-5021-8182-2399-8235-
I have installed it on different machines. Everything went well.
II. To be continued
3. Run the AIR program on Ubuntu
The path of the AIR program CoverFlow. air to be installed is :~ /Download/CoverFlow. air
Open the terminal: cd ~ /Download
Enter A and press the tab key to display:
Adobe \ AIR \ Application \ Installer
Follow the installer name as follows:
Adobe \ AIR \ Application \ Installer CoverFlow. air
An error occurred while pressing enter:
Unexpected error: ArgumentError: Error #2004
In fact, this is a BUG of AIR. solution:
Use the full-path execution of the AIR program, as shown in the above Code:
Adobe \ AIR \ Application \ Installer ~ /Download/CoverFlow. air
On the installation page, follow the prompts to complete the installation. Then, you can see the CoverFlow startup Item in "Start Menu> Application> attachment.
In fact, you can open the file browser and double-click CoverFlow. air to install CoverFlow. This prevents errors and saves you trouble. But those who like to execute commands (just like me, I started to work on the terminal once, but met the strange and inexplicable problem above. Google had a long time to know what was going on .) Sometimes you may find yourself in trouble.
Linuxidc Disclaimer: This article only represents the author's personal opinion and has nothing to do with Linux community (Linuxidc. Its originality, as well as the statement text and content in this article have not been confirmed by this site, this article and all or part of the content, the authenticity, integrity, timeliness of this site do not make any warranty or commitment, for your reference only, please verify the relevant content on your own.