在flash cs5.5中使用 Adobe AIR 3.1 SDK

本文提供了一个详细的指南,介绍如何将Windows环境下使用AIR 2.6开发的应用升级到AIR 3.1版本,以便解决在Ubuntu系统中遇到的安装问题。包括下载最新SDK、替换旧文件夹、修改配置文件等步骤。

在windows下开发的air应用(air2.6),发布到ubuntu下(air2.6),出现无法安装的情况。

需要更新windows下air发布的版本。

原文:http://kb2.adobe.com/cps/908/cpsid_90810.html

步骤如下:

软件下载地址:http://airdownload.adobe.com/air/win/download/latest/AdobeAIRSDK.zip

Below are instructions for overlaying the AIR 3.1 SDK in Flash Professional CS5.5.

Note: This information is provided to advanced developers who are interested in using the AIR 3.0 SDK 
with Flash Professional CS5.5. However, Adobe does not provide technical support when overlaying.
 If you require assistance, visit the Flash Professional forums.

  1. Download the latest AIR SDK (http://www.adobe.com/products/air/sdk/).
  2. Unzip the relevant archive:
  • archive_air_3.1_withdrm_sdk / AdobeAIRSDK.zip (Win)
  • archive_air_3.1_withdrm_sdk.dmg / AdobeAIRSDK.tbz2 (Mac)
  1. Close Flash Professional CS5.5.
  2. Browse to either of the following to locate the AIR2.6 folder:
  • C:\Program Files\Adobe\Adobe Flash CS5.5\ (Win)
  • Applications/Adobe Flash CS5.5/ (Mac)
  1. Change the AIR2.6 folder name to AIR2.6OLD or delete it if you don't want to save a copy of it.
  2. Rename the unzipped folder (SDK folder) to AIR2.6.
  3. Place the folder in either of the following locations:
  • C:\Program Files\Adobe\Adobe Flash CS5.5\ (Win)
  • Applications/Adobe Flash CS5.5/ (Mac)
  1. Browse to the AIR2.6/frameworks/libs/air/ folder in the Adobe Flash CS5.5 folder and copy airglobal.swc.
  2. Paste the SWC file in Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/AIR2.6/ to overwrite the existing airglobal.swc file.
  3. Open AdobeAIR2_6.xml, AiriPhone.xml, or Android.xml inside Adobe Flash CS5.5/Common/Configuration/Players/ using any text editor.
  4. Change the version attribute of the player tag from 11 to 14 and save the file and tag 2.6 to 3.1. Make sure that it looks as follows for the relevant file: 
    Android.xml<player id="android_0" version="14" asversion="3" minasversion="3">
    AiriPhone.xml<player id="PFI1_0" version="
    14" asversion="3" minasversion="3">
    AdobeAIR2_6.xml<player id="AdobeAIR2_6" version="
    14" asversion="3" minasversion="3"><name>AIR 3.1</name>
  5. Browse to Adobe Flash CS5.5/AIR2.6/samples/ and open the descriptor-sample.xml file with any text editor.
  6. Save and close the file.

评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值