Skip to main content
Known Participant
July 7, 2010
Answered

can't launch sample with adl in linux

  • July 7, 2010
  • 1 reply
  • 4478 views

Hi,

I just downloaded the Open Source Flex 4SDK on Ununtu Linux, and I installed the latest AIR 2.0 runtime.

If I try to launch the included example ("sample") with the adl debug launcher, I get the following error:

teo@XXX:/media/DATA/programmi/FLEX/samples$ ../bin/adl.exe descriptor-sample.xml
initial content not found

What am I mising?

By the way I was surprised that the binary for linux seems to be the same as for windows i.e. adl.exe. The other binary, the one without ".exe" doesn't even execute...

Thanks

m.

This topic has been closed for replies.
Correct answer ChivertonT

ChivertonT wrote:

What does 'file' make of your 'adl' file ? Could it be you've got the Mac version or something ?

Yes it seems it is the mac version:

adl: Mach-O executable i386

I downloaded the only available download from Adobe, which says "Open Source Flex SDK - ALL PLATFORMS" and indeed there are only two version of the each binary, one .exe and one without extension. So I assumed that in some strange way the same version worked for Mac OS and Linux

Now I see why most of the other executables do run, it's because they are shell scripts. Cat'ing their contents I see they have if clauses which check for the operating system, and they DO have cases for Linux.

So I don't understand:

If this is a unique download for all platforms, and "all platforms" seems to include linux, why isn't there an adl executable or script for linux?

If this is not the right download, where do I find the SDK for linux, and why is this called "all platforms"?

thanks

m.


I took the download from http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex4sdk and you're right.

If you grab the Linux specific AIR SDK from http://www.adobe.com/cfusion/entitlement/index.cfm?e=airsdk&loc=en_us however there is a bin/adl there that works fine.

All my Flex SDKs have AIR overlaied (i.e. Adobe's stupid failure to ship a combined SDK) and most people propbably do the same thing.

1 reply

Inspiring
July 8, 2010
Known Participant
July 8, 2010

Your reply appears as an empty message

Inspiring
July 8, 2010

STUPID CLUCKING FORUM EMAIL GATEWAY.

Sorry. Adobe refuses to get it fixed.

I meant to say

<guess> That is trying to run via WINE or something. You made need to 'chmod'
the real adl.

# /opt/flex_sdk_4.0.0.14159_with_air-sdk-2.0_rc1/bin/adl
application descriptor file not specified
usage:
  adl ( -runtime <runtime-dir> )? ( -pubid <pubid> )? -nodebug? ( -profile
mobileDevice|extendedMobileDevice|desktop|extendedDesktop )? ( -screensize
<size> )? <app-desc> <root-dir>? ( -- ... )?
  adl -help
# /opt/flex_sdk_4.0.0.14159_with_air-sdk-2.0_rc1/bin/adl.exe
bash: /opt/flex_sdk_4.0.0.14159_with_air-sdk-2.0_rc1/bin/adl.exe: cannot
execute binary file