在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.
- Download the latest AIR SDK (http://www.adobe.com/products/air/sdk/).
- Unzip the relevant archive:
- archive_air_3.1_withdrm_sdk / AdobeAIRSDK.zip (Win)
- archive_air_3.1_withdrm_sdk.dmg / AdobeAIRSDK.tbz2 (Mac)
- Close Flash Professional CS5.5.
- 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)
- Change the AIR2.6 folder name to AIR2.6OLD or delete it if you don't want to save a copy of it.
- Rename the unzipped folder (SDK folder) to AIR2.6.
- Place the folder in either of the following locations:
- C:\Program Files\Adobe\Adobe Flash CS5.5\ (Win)
- Applications/Adobe Flash CS5.5/ (Mac)
- Browse to the AIR2.6/frameworks/libs/air/ folder in the Adobe Flash CS5.5 folder and copy airglobal.swc.
- Paste the SWC file in Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/AIR2.6/ to overwrite the existing airglobal.swc file.
- Open AdobeAIR2_6.xml, AiriPhone.xml, or Android.xml inside Adobe Flash CS5.5/Common/Configuration/Players/ using any text editor.
- 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>
- Browse to Adobe Flash CS5.5/AIR2.6/samples/ and open the descriptor-sample.xml file with any text editor.
- Save and close the file.