Skip to main content
This topic has been closed for replies.
Correct answer User Unknow

Ok, migration can't be done via Flash Pro because it require command line complation access. But this can be done easy. I hope your OS it's Windows? )) Because I don't use a Mac.

adt -migrate -storetype pkcs12 -keystore cert.p12 myAppIn.air myApp.air

this string can be executed easy.

1) Locate your Adobe Air SDK and copy it's path to clipboard.

2) Create somewhere folder and put your original.air there

3) Create Migrate.txt file

4) Type in it:

"C:\Program Files\Adobe\Air Flash Runtimes\4.0.0.1390\bin\adt.bat" -migrate -storetype pkcs12 -keystore cert.p12 original.air update.air


Change full path to your Air SDK location. For example it can be like:

"C:\AdobeAirSDK\bin\adt.bat" -migrate -storetype pkcs12 -keystore cert.p12 original.air update.air

5) Rename Migrate.txt to Migrate.bat and execute it. ADT may ask your certificate pass. Type it and press enter.

I never doing migration because I use only Embeded with *.exe inhouse distribution. But using link you provide - you can do it yourself. Just change everythere adt to "C:\AdobeAirSDK\bin\adt.bat" your any other your sdk location.

But I always use ADT in command line

Hope this helps. But this is for Windows. I don't know how to deal with MacOS command line.

2 replies

Colin Holgate
Inspiring
January 14, 2014

I’m not sure if it’s any different for AIR for desktop, but with AIR for iOS you would take your new certificate into Keychain Access, export a new P12 file, and then use that in Flash Pro.

User Unknow
Legend
January 14, 2014

Does your app use *.AIR or you deploy it with embeded runtime?

May be simplest way it's recompile it?

January 14, 2014

The first option - myapp.AIR

I can recompile via Flash Pro, but I'm not sure where the option to migrate the old certificate is. If I just recompile with the new certificate, I get misconfiguartion errors when someone attempts to install the new app. Apparently, migrating the old certificate using these instructions overcomes this - http://help.adobe.com/en_US/air/build/WS13ACB483-1711-43c0-9049-0A7251630A7D.html

I'm just wondering if it all can be done via the IDE?

Thanks Anton

User Unknow
Legend
January 14, 2014

Wow - thank you Anton!!!

It seems to be working to a point, but I'm getting the error:

File myFile.air has an invalid descriptor Descriptor: error: 102 invalid namespace http://ns.adobe.com/air/application/3.7

Does this make any sense? I haven't come across any namespace errors when exporting via the ide.

Cheers mate.


looks like your current air sdk is different with that was used for old air app. what is current and old?