I'm trying to compile the simple AIR app from here. I get a strange error, strange in that Googling it hardly reveals three resul开发者_如何学Cts.
mxmlc -library-path=/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc NativeProcessTestFlex.mxml
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
Use 'mxmlc -help' for information about using the command line.
Anyone knows what this error is all about?
try this instead:
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'.
Try to place library path in quotes the following way:
mxmlc -library-path="/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc" NativeProcessTestFlex.mxml
The problem is definitely in spaces so it thinks Flash
and Builder
and Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc
are source files.
精彩评论