请问Flash Builder 4中现在使用AIR 2? [英] Does Flash Builder 4 now use AIR 2?

查看:227
本文介绍了请问Flash Builder 4中现在使用AIR 2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚CS5主人套房,其中包括Flash Builder 4中和Flash CS5专业。

当我创建的CS5新的AIR应用程序亲它说:AIR 2,但是当我创建在Flash Builder一个新的AIR项目,我没有看到任何表明它是AIR 2或1.5?

有没有办法知道哪些AIR运行时,它正在使用?

解决方案

我认为你必须下载SDK和ST起来自己;但Flash Builder中应该可以正常工作:

http://labs.adobe.com/wiki/index.php/ AIR_2:RELEASE_NOTES

  

如何叠加的Adobe AIR SDK与Flex SDK的使用

     
      
  1. 在现有的Flex SDK文件夹中的内容复制到一个新的文件夹。对于   例如,在Flex Builder中,复制   以下文件夹位于:         * Windows系统:C:\ Program Files文件\的Adobe \的Flex Builder 3 \的SDK \ 3.2.0         *的Mac OS:/应用/使用Adobe的Flex Builder   3 /软件开发工具包/ 3.2.0
  2.   
  3. 下载相应的AIR SDK文件为您的操作系统和   将其保存到Flex的根文件夹   SDK。         * Windows系统:AIR20_win_sdk_XXXXXX.zip         *的Mac OS:AIR20_mac_sdk_XXXXXX.tbz2
  4.   
  5. 解压AIR SDK存档的内容,并覆盖现有的   在复制的文件夹SDK文件。         * Windows:在ZIP文件点击右键并选择全部提取   或者使用的DECOM pression工具您   选择。         *的Mac OS:在终端,cd到Flex SDK的根文件夹,   运行此命令:         *焦油jxvf AIR20_mac_sdk_XXXXXX.tbz2

     如果你有麻烦,由于文件覆盖文件
     

         

    权限,试试这个命令         sudo的焦油jxvf AIR20_mac_sdk_XXXXXX.tbz2

  6.   
  7. 在Flex或Flash Builder中,打开属性对话框,选择   Flex编译页

  8.   
  9. 点击配置的Flex SDK ...链接
  10.   
  11. 添加合并Flex和AIR 2 SDK文件夹上面创建
  12.   
  13. 使用该SDK访问的AIR 2 API的任何项目。
  14.   

要更新本作的产能释放;去downlod的Flex SDK的preferred版本 HTTP://opensource.adobe。 COM /维基/显示/ flexsdk /下载并下载AIR 2 SDK时的 http://www.adobe.com/cfusion/entitlement/index.cfm?e=airsdk

两个使用上述(1-3)的说明叠加;然后配置在Flash Builder(也使用上述说明新的SDK(4-7)。


更新:由于我原来这篇帖子;的Flex 4.1 SDK发布,其中包括有关AIR 2位。 你可以在这里

I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro.

When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5?

Is there a way to tell which AIR runtime it is using?

解决方案

I think you'll have to download the SDK and st it up yourself; but Flash Builder should work fine:

http://labs.adobe.com/wiki/index.php/AIR_2:Release_Notes

How to overlay the Adobe AIR SDK for use with the Flex SDK

  1. Copy the contents an existing Flex SDK folder to a new folder. For example, in Flex Builder, copy the following folder located at: * Windows: c:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0 * Mac OS: /Applications/Adobe Flex Builder 3/sdks/3.2.0
  2. Download the appropriate AIR SDK file for your operating system and save it to the root folder of the Flex SDK. * Windows: AIR20_win_sdk_XXXXXX.zip * Mac OS: AIR20_mac_sdk_XXXXXX.tbz2
  3. Extract the contents of the AIR SDK archive and overwrite the existing SDK files in the copied folder. * Windows: Right-click on the ZIP file and select "Extract All" or use the decompression tool of your choice. * Mac OS: In Terminal, cd to the root folder of the Flex SDK and run this command: * tar jxvf AIR20_mac_sdk_XXXXXX.tbz2

      If you have trouble overwriting files due to file
    

    permissions, try this command sudo tar jxvf AIR20_mac_sdk_XXXXXX.tbz2

  4. In Flex or Flash Builder, open the Properties dialog and choose the Flex Compiler page

  5. Click the Configure Flex SDKs... link
  6. Add the combined Flex and AIR 2 SDK folder created above
  7. Use this SDK for any projects accessing AIR 2 APIs.

To update this for the production release; go downlod your preferred version of the Flex SDK at http://opensource.adobe.com/wiki/display/flexsdk/Downloads and download the AIR 2 SDK at http://www.adobe.com/cfusion/entitlement/index.cfm?e=airsdk .

Overlay the two using the instructions above (1-3); then configure the new SDK in Flash Builder (also using the instructions above (4-7).


Update: Since my original post of this; Flex 4.1 SDK was released which includes the relevant AIR 2 bits. You can get it here

这篇关于请问Flash Builder 4中现在使用AIR 2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆