31.07.2013 Views

Building Adobe AIR Applications

Building Adobe AIR Applications

Building Adobe AIR Applications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2: <strong>Adobe</strong> <strong>AIR</strong> installation<br />

The <strong>Adobe</strong>® <strong>AIR</strong>® runtime allows you to run <strong>AIR</strong> applications. You can install the runtime in the following ways:<br />

By installing the runtime separately (without also installing an <strong>AIR</strong> application)<br />

By installing an <strong>AIR</strong> application for the first time through a web page installation “badge” (you are prompted to<br />

also install the runtime)<br />

By creating a custom installer that installs both your application and the runtime. You must get approval from<br />

<strong>Adobe</strong> to distribute the <strong>AIR</strong> runtime in this fashion. You can request approval on the <strong>Adobe</strong> runtime licensing<br />

page. Note that <strong>Adobe</strong> does not provide tools for building such an installer. Many third-party installer toolkits are<br />

available, however.<br />

By installing an <strong>AIR</strong> application that bundles <strong>AIR</strong> as a captive runtime. A captive runtime is used only by the<br />

bundling application. It is not used to run other <strong>AIR</strong> applications. Bundling the runtime is an option on Mac and<br />

Windows. On iOS, all applications include a bundled runtime. As of <strong>AIR</strong> 3.7, all Android applications include a<br />

bundled runtime by default (although you have the option of using a separate runtime).<br />

By setting up an <strong>AIR</strong> development environment such as the <strong>AIR</strong> SDK, <strong>Adobe</strong>® Flash® Builder , or the <strong>Adobe</strong> Flex®<br />

SDK (which includes the <strong>AIR</strong> command line development tools). The runtime included in the SDK is only used<br />

when debugging applications — it is not used to run installed <strong>AIR</strong> applications.<br />

The system requirements for installing <strong>AIR</strong> and running <strong>AIR</strong> applications are detailed here: <strong>Adobe</strong> <strong>AIR</strong>: System<br />

requirements (http://www.adobe.com/products/air/systemreqs/).<br />

Both the runtime installer and the <strong>AIR</strong> application installer create log files when they install, update, or remove <strong>AIR</strong><br />

applications or the <strong>AIR</strong> runtime itself. You can consult these logs to help determine the cause of any installation<br />

problems. See Installation logs.<br />

Installing <strong>Adobe</strong> <strong>AIR</strong><br />

To install or update the runtime, a user must have administrative privileges for the computer.<br />

Install the runtime on a Windows computer<br />

1 Download the runtime installation file from http://get.adobe.com/air.<br />

2 Double-click the runtime installation file.<br />

3 In the installation window, follow the prompts to complete the installation.<br />

Install the runtime on a Mac computer<br />

1 Download the runtime installation file from http://get.adobe.com/air.<br />

2 Double-click runtime installation file.<br />

3 In the installation window, follow the prompts to complete the installation.<br />

4 If the Installer displays an Authenticate window, enter your Mac OS user name and password.<br />

Install the runtime on a Linux computer<br />

Note: At this time, <strong>AIR</strong> 2.7 and later are not supported on Linux. <strong>AIR</strong> applications deployed to Linux should continue to<br />

use the <strong>AIR</strong> 2.6 SDK.<br />

Last updated 7/8/2013<br />

3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!