apache-flex - 在 ubuntu 上安装 Flex SDK

标签 apache-flex ubuntu air

我一直在关注这个article在 ubuntu 12.04 上安装 apache flex,但不幸的是最后一步对我不起作用。
成功安装 adobe air 后,如果我运行 dpkg -l adobeair我得到了预期:

ii  adobeair  1:2.6.0.19170  Adobe AIR 2

也只是为了确定,运行 dpkg -l|grep adobeair和前面的命令一样叫喊。

就像链接中提到的那样,尝试执行 flex deb 包会显示一个错误,指出无法满足 adobe air 依赖项。

试图执行他们提出的解决方案:sudo dpkg -i --force-depends apache-flex-sdk-installer-2.7.0-bin.deb返回以下内容:
Selecting previously unselected package org.apache.flex.installapacheflex:i386.
dpkg: regarding apache-flex-sdk-installer-2.7.0-bin.deb containing org.apache.flex.installapacheflex:i386, pre-dependency problem:
org.apache.flex.installapacheflex:i386 pre-depends on adobeair (>= 1:2.6.0.0)
dpkg: warning: ignoring pre-dependency problem!
(Reading database ... 187989 files and directories currently installed.)
Unpacking org.apache.flex.installapacheflex:i386 (from apache-flex-sdk-installer-2.7.0-bin.deb) ...
dpkg: org.apache.flex.installapacheflex:i386: dependency problems, but configuring anyway as you requested:
org.apache.flex.installapacheflex:i386 depends on adobeair (>= 1:2.6.0.0).
Setting up org.apache.flex.installapacheflex:i386 (2.7.0) ...
Processing triggers for software-center ...
Updating software catalog...this may take a moment.
INFO:softwarecenter.db.pkginfo_impl.aptcache:aptcache.open()
Software catalog update was successful.

没有别的 react ,安装向导没有启动。之后,双击 flex 包打开软件中心,显示一条错误消息“在修复包目录之前无法安装或删除项目”,并提供修复或取消选项。无论我选择什么选项,仍然不允许安装 flex 包...

我已经为此苦苦挣扎了几个小时,这让我发疯,任何输入将不胜感激! :)

最佳答案

所以我在四处寻找后终于想通了,一旦完成问题中描述的所有步骤,你会发现安装程序位于 /opt/Apache Flex/Apache Flex SDK Installer/bin所以基本上你只需要以 root 权限执行安装程序,一切都会很有趣:

cd /opt/Apache\ Flex/Apache\ Flex\ SDK\ Installer/bin/
sudo ./Apache\ Flex\ SDK\ Installer

按照向导完成后,您可以通过执行 mxmlc -help 来确保
Apache Flex Compiler (mxmlc)
Version 4.12.0 build 20140303
Copyright 2013 The Apache Software Foundation.

也许这会在 future 帮助某人:)

关于apache-flex - 在 ubuntu 上安装 Flex SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22460299/

相关文章:

apache-flex - 如何检查flex中是否存在变量

ubuntu - Ubuntu终端: "Command line option ' n' [from -installed] is not understood in combination with the other options.出现错误“

c - 我如何在 Ubuntu 中使用 math.h 函数

database - 从 Flash(或 AIR) Access 本地 Access 数据库

ios - Actionscript:在 iOS 上创建文本字段和填充的性能

flash - 我正计划在 Flex 4.0 中构建一个巨大的管理系统,我需要一些建议

css - 如何在模块中使用主应用程序样式而不嵌入 flex 4 版本中的运行时样式加载

php - 关于 Adob​​e 空气

apache-flex - 类mx.core::DesignLayer could not be found

ubuntu - 每 5 小时更新一次 crontab 以 tar 新的/更新的文件