Tuesday, April 21, 2009

Adobe AIR on 64-bit Linux - ArgumentError: Error #2004

Adobe has detailed instructions on setting up AIR on 64-bit Linux systems. However they are missing the final step on actual installation of AIR applications. They put a rather unwieldy program under /usr/bin called "Adobe AIR Application Installer". Running this from the command line against any .air file produces this error message: unexpected error: ArgumentError: Error #2004 with no other explanation. Turns out that just running the installer ("Adobe AIR Application Installer") opens a GUI where one can select the .air file and then the installation goes through without problems. Perhaps the command line interface expects arguments in some undocumented syntax.

5 comments:

Ashutosh Sharma said...

Error #2004 is reported when the path of the .air file is not absolute.

Adobe AIR App Installer requires the absolute path of the .air application to be installed.

Anonymous said...

Thanks for that tip, Ashutosh! It's really dumb for Adobe to expect an absolute path.

Unknown said...

I get a 2004 error even when using an absolute path...and on 32-bit not 64. I'm using Fedora.

R Bywater said...

Actually I think it may be the fact that you have to be in the same directory as Adobe AIR Application Installer

Marc Lijour said...

Same problem and this tip does not fix it. See http://forums.adobe.com/message/2101467