• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

[SOLVED] can't package native installer on Linux with Flex SDK 4.5 : Invalid AIR file

Participant ,
May 24, 2011 May 24, 2011

Copy link to clipboard

Copied

Hi,

Finally i think it is the right place to put this post (http://forums.adobe.com/thread/855766?tstart=30)

Hi,

We've got a app using the NativeProcess API on Flex 4.1 SDK. The building and packaging of the application into native installer works fine until we've moved to Flex 4.5 SDK in order to use some of the new features.

The packaging into a native .deb installer on Linux fails with a "Invalid AIR file" message...

Here is our process :

We're exporting the app with Flash Builder (on mac) into an air file and as our application is using NativeProcess API, we're packaging it on each platform into a native installer with the following command (linux example) : adt -package -target native app.deb app.air

We think we fall into the same issue as http://forums.adobe.com/message/3271944#3271944 but for the 4.5 DSK.

On Linux it used to work with the following environment (env1):

- Ubuntu 10.10

- Java Sun 1.6.0_24

- Flex SDK 4.1.0.16076 + Adobe Air SDK 2.5.0

It stops to work when we upgrade to the new Flex SDK (env2):

- Ubuntu 10.10

- Java Sun 1.6.0_24

- Flex SDK 4.5.0.20967 (with the default embeded Adobe Air SDK 2.6)

The faut message is "Invalid AIR file" and nothing is logged in the log file (/home/<username>/.appdata/Adobe/AIR/Logs/Install.log).

1) The .air file is installing correctly on env2 (without the support of the NativeProcess as expected)

2) We also tried to compile the project directly on env2 :

amxml app.mxml

adt -package -storetype pkcs12 -keystore cert.p12 app.air app-app.xml air.swf

The .air file is installing fine but the packaging into a native process fails in the same way...

3) We tried to package a native installer of our .air file on env1 and it works!!! (the installed application seems to work fine also on env2!!!)

We achieve the same beahviour with a fresh empty project.

Are we missing something or does it seems to be a bug of the Flex SDK 4.5?

Are there some restrictions to package a native installer with the Flex SDK 4.1 a air app build with the Flex SDK 4.5 ?

Thanks in advance,

Mich

TOPICS
Performance issues

Views

1.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 25, 2011 May 25, 2011

Copy link to clipboard

Copied

LATEST

Hi,

Finally we figure out how to solve the issue.

The packaging into native .deb installer fails as explain above because with the hole Flex SDK 4.5 (adt -version told 2.6.0.1920).

The packaging is successfull if only Air SDK 2.6 is install.

What is strange that both adt seems to be the same "2.6.0.1920" (found with "adt -version").

Can someone from the Adobe dev team explain it?

I suppose as the Flex SDK is not available for the Linux platform, the download only contains the Air SDK for Windows and Mac OS as opposed to the specific download of the Air SDK for te Linux platform...

Thanks,

Mich

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines