Skip to main content
Participant
October 30, 2010
Question

Android development with Air 2.5 with Flash CS4 is this possible?

  • October 30, 2010
  • 2 replies
  • 5614 views

Can anyone point me where or fill me in on if this is possible which I think it is... I need to figure out how to set up flash cs4 with the AIR 2.5 SDK  Because I think it is possible to still build the air app in cs4 and then package it for android using the sdk adt.bat??? Any tutorials or info on this would be great I'm struggling to find any real clear answers everything really mentions cs5 or flash builder... Thanks answers greatly appreciated!!!

This topic has been closed for replies.

2 replies

Participant
November 22, 2010

This was part of the AIR 2.0 beta release note, but I used this for 2.5 and it works nice.

You can try it too an make sure you use 2.5 wherever the not says 2.0beta2.

Goodluck.

How to Update Flash CS4 to Use the AIR 2 Beta SDK

If you use Flash CS4 Professional to build Adobe AIR applications, please follow the instructions below to manually update the version of the AIR SDK to use version 2.0.
Update Flash CS4 Professional to version 10.0.2 at http://www.adobe.com/support/flash/downloads.html or select "Help > Updates... " from within Flash CS4.
Quit Flash CS4 Professional if it is open.
Navigate to the Flash CS4 installation folder. The default location on Windows is "C:\Program Files\Adobe\Adobe Flash CS4\" and on Mac OS "/Applications/Adobe Flash CS4/"
Within the "Adobe Flash CS4" folder you should see a folder called "AIK1.5". If this folder is not present repeat step #1.
Rename the folder "AIK1.5" to "AIK1.5 OLD" or delete it if you do not need to save a copy of it.
Make a new folder called "AIK1.5"
Download the Adobe AIR 2 SDK from the labs website and uncompress the contents of the folder to the new "AIK1.5" folder you just created.
Copy the "airglobal.swc" file located within the "Adobe Flash CS4/AIK1.5/frameworks/libs/air/" folder into the "Adobe Flash CS4/Common/Configuration/ActionScript 3.0/AIR1.5/" folder.

Flash CS4 is now configured to use the AIR 2 beta 2 SDK.

In order to take advantage of the new AIR 2 beta 2 features, you will need to update your application descriptor file to use the "2.0beta2" namespace.

jazzsurfer
Participant
October 30, 2010

I've been able to create a couple of Android apps with AIR 2.5 using Flash CS4. Takes some manual editing of the app XML. It also took a while to figure out how to package my apps using the command line AIR Development Tool (ADT), but I was able to download it to my mobile device. I'm still testing and polishing.

There were instructions published along with the prerelease of AIR 2.5, including installation and setup for CS4.  It involved copying AIR 2.5 files and airglobal.swc  into your Flash CS4 folders.  I'm still learning how to package and sign apps with ADT.

The problem I'm having now it figuring out how to correctly use ADT to create a digital certificate and sign an app so I can publish it on the Android Market.  A good tutorial on ADT and digital signatures would help.

vsswpAuthor
Participant
October 30, 2010

@jazzsurfer

Thanks for your advice, I cant seem to find documentation on setting up Air 2.5 SDK with flash however I found documentation on 2.0 so I followed that. But I'm not really sure if it works because I only see Air 1.5 in the Publish Settings in Flash. Could you point me to where you found the documentation. I have been searching Adobe Labs but I dont see it... Thanks  Hey I stumbled on this tutorial about setting up the AIR sdk and command line tools does this also apply to me ? And sure maybe it helps with your question??? http://technology-document.blogspot.com/2010/02/section-25-setting-up-adobe-air-sdk-and.html

Thanks again saw your post on Lee Brimelows Blog by the way..