MXMLC 奇怪的错误:错误:文件规范中只允许一个来源 [英] MXMLC strange error: Error: only one source is allowed in the filespec
问题描述
我正在尝试从 此处编译简单的 AIR 应用程序.我收到一个奇怪的错误,奇怪的是谷歌搜索几乎没有显示三个结果.
I'm trying to compile the simple AIR app from here. I get a strange error, strange in that Googling it hardly reveals three results.
mxmlc -library-path=/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc NativeProcessTestFlex.mxml
mxmlc -library-path=/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc NativeProcessTestFlex.mxml
加载配置文件/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/flex-config.xmlAdobe Flex 编译器 (mxmlc)版本 4.5.0 内部版本 17689版权所有 (c) 2004-2009 Adobe Systems, Inc.保留所有权利.
Loading configuration file /Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/flex-config.xml Adobe Flex Compiler (mxmlc) Version 4.5.0 build 17689 Copyright (c) 2004-2009 Adobe Systems, Inc. All rights reserved.
错误:文件规范中只允许一个来源
Error: only one source is allowed in the filespec
使用mxmlc -help"获取有关使用命令行的信息.
Use 'mxmlc -help' for information about using the command line.
有人知道这个错误是怎么回事吗?
Anyone knows what this error is all about?
推荐答案
试试这个:
mxmlc -library-path="/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc" NativeProcessTestFlex.mxml
应用程序名称中有空格,这会使命令行认为它是下一个参数".
You had spaces in the application name, which make the command line think it was the next 'parameter'.
这篇关于MXMLC 奇怪的错误:错误:文件规范中只允许一个来源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!