This is a demo Adobe AIR app for iOS, Android and Amazon devices which includes Command Line (.bat) files for Windows users and Terminal (.sh) files for Mac users. This project was created so that an AIR app can be set up without having to edit multiple command line files.
The Adobe AIR runtime enables developers to package the same code into native apps for Windows and Mac OS desktops as well as iPhone, iPad, Kindle Fire, Nook Tablet, and other Android devices. WebKit uses a few non-public APIs that are not allowed on the Mac App Store, so you cannot use HTMLLoader or any class in the flash.html package in your app. Manually remove WebKit.dylib and Flash Player.plugin from the Adobe AIR.framework/Resources subtree inside your app bundle. Since this app is a cross-platform, this Adobe app can run on Windows, Mac OSX, Android, and iOS as well. Because this app uses Flash technology, the user can create a unique and differentiated look. You can also add animation, sound, and video as well. About Adobe AIR: The Adobe AIR runtime enables developers to package the same code into native applications and games for Windows and Mac OS desktops as well as iOS and Android devices, reaching over a billion desktop systems and mobile app stores for over 500 million devices.
iOS packages for .ipa and both Android and Amazon package to .apk
(Step 1) Create Certificates and Provisional Profiles
You will need to supply your own iOS, Android and Amazon certificates and provisional profiles for publishing to the App Store, Google Play Store and Amazon Appstore. AdHoc certificate and provisional profile only needed if you wish to publish for AdHoc.
iOS
- certificates/Development_Certificate.p12
- certificates/Distribution_Certificate.p12
- certificates/AdHoc_Certificate.p12
- certificates/App_Development.mobileprovision
- certificates/App_Distribution.mobileprovision
- certificates/App_AdHoc.mobileprovision
Android
- certificates/Android-Certificate.p12
Amazon
- certificates/Amazon-Certificate.p12
(Step 2) Include native extensions
Native extensions can be simply thought of as classes which allow AIR apps to access features which would traditionally only be available to natively programmed apps. If you are not including native extensions with your AIR app then simply skip this step. You can purchase very well documented native extensions for iOS and Android from:
- Milkman Games (step by step documentation)
You will need to follow these instructions for each native extension you wish to use
- Create a copy of the native extension's .ane and .swc files
- Place the .ane in the extensions folder
- Place the .swc in the lib folder
- In Flash Professional navigate to File > ActionScript Settings.. > Library Path > Browse to a Native Extension (ANE) file
- Browse to the .ane file in the extensions folder and hit OK
- Follow the instructions included with the native extension to start using its features
(Step 3) Editing Manifest Files
iOS
- Open manifests/iOS_Development-app.xml
- Open manifests/iOS_Distribution-app.xml
Android
Flash Air App For Mac
- Open manifests/Android-app.xml
Amazon
- Open manifests/Amazon-app.xml
iOS, Android and Amazon
Edit the elements shown below:
If you are using a native extension(s) be sure to follow the instructions included in regards to modifying the manifest file(s). This may be referred to as the application descriptor. Do not skip this step, especially if building for Android/Amazon devices.
(Step 4) Setup App Packager
Mac
Compile An Adobe Air Application For Mac
- Open commands/setup_app.sh in a text editor
- Edit the path shown below to point to the location of your AIR SDK
- Make any changes to the file paths as necessary
Windows
- Open commands/setup_app.bat in a text editor
- Edit the path shown below to point to the location of your AIR SDK
- Make any changes to the file paths as necessary
(Step 5) Package and Push App
Mac
- Copy and paste the code above into a terminal opened at the projects root (right click project folder and select 'New Terminal at Folder')
- Drag the build_app.sh file into the open terminal and press Enter to execute
- Follow the terminal instructions to successfully compile, remove and push ipa/apk files
Windows
- Double click the build_app.bat file to execute
- Follow the command line instructions to successfully compile, remove and push ipa/apk files
This technote addresses the installation issue of Adobe AIR applications after 30th Oct 2017 that is signed with SHA1 certificate. It is applicable to both Windows and Mac.
Issue
When you install your AIR application, the installation fails with the below error. The error dialog is a generic installation failure message that could occur for various reasons. One of them is due to signature validation failure.
Who should use this solution?
If your developed AIR application fails to install after 30th Oct 2017.
Issue confirmation
Follow the steps below to verify if the signature validation failure is the cause of the installation failure:
While this program far exceeds After Effects in 3D character modeling, animation and rendering capabilities, After Effects is a better option for compositing and special effects. 3DS Max is currently available for Windows, Mac and Linux. On Mac OS, some keyboard commands used to interact with the operating system conflict with keyboard commands for interacting with After Effects. Select Use System Shortcut Keys in the General preferences to override the After Effects keyboard command sometimes in which there’s a conflict with the Mac OS keyboard command. Whats the adobe after effects option for mac.
- Open the application installation logs. The location of the log files for different platforms is mentioned in the article: https://helpx.adobe.com/air/kb/logging-air-2-desktop-application.html
- If the installation log contains the error: “Package signature validation failed”, it indicates that the application is signed with SHA1 certificate.
- Set your system date to a date prior to 30th Oct 2017, and try to install the application again. Successful installation confirms that your application is impacted by the signature validation issue.
Solution
You will have to re-sign your Adobe AIR application. Follow the steps below to re-sign your application:
- Rename your Adobe AIR application by changing its extension from .air to .zip. In case you don’t see the extension in the filename, enable the filename extension before renaming the application.
- Extract the .zip file renamed in Step 1.
- Go to the extracted folder and perform the following modifications (in the order specified):
- Move xml present inside META-INFAIR folder to the root of the extracted folder.
- Delete “META-INF” folder.
- Delete “mimetype” file located in the root of the extracted folder.
- Download the latest AIR SDK for your platform from http://www.adobe.com/devnet/air/air-sdk-download.html.
- Locate the AIR SDK archive file downloaded in Step 4 and extract the AIR SDK Compiler (if on Windows) or mount the AIR SDK Compiler dmg (if on Mac).
- Open the command prompt and change the current working directory to the root directory of the extracted AIR application directory.
- Use the command below to re-package the AIR application with a new certificate:
<AIR_SDK_compiler_path>binadt -package -storetype pkcs12 -keystore <app_signing_certficate_path> myApp.air application.xml .
Command line parameters:
- AIR_SDK_compiler_path – Location of AIR SDK compiler extracted or mounted in Step 5.
- app_signing_certficate_path – Fully qualified path of your application signing certificate. Make sure you are using SHA256 certificate.
- myApp.air – Name of the application to be packaged.
- application.xml – The file that was moved in Step 3.A
When prompted, enter the password of your application signing certificate.
Note:
Do not ignore the . (dot) at the end of the packaging command above. It is used to package all the resources present in your existing application. For more details on packaging AIR applications, refer https://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html.
Do not ignore the . (dot) at the end of the packaging command above. It is used to package all the resources present in your existing application. For more details on packaging AIR applications, refer https://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html.
Workaround
AIR applications with the above-mentioned issue can be installed using two methods.
![For For](/uploads/1/2/6/2/126236344/232343768.jpg)
Using keyboard shortcuts:
Install the Adobe AIR Runtime
Steps to follow on Windows:
1. Go to C:Program Files (x86)Common FilesAdobe AIRVersions1.0
2. While holding the “Ctrl” key, select the Adobe AIR Application Installer.exe -> Right click on it -> Run as Administrator. Do not take your finger off the “ctrl” key until you see the window open up.
3. Select and open the AIR application to be installed.
Steps to follow on Mac:
1. Go to /Applications/Utilities
2. While holding the “command” key, double click on the Adobe AIR Application Installer. Do not take your finger off the “command” key until you see the window open up.
3. Select and open the AIR application to be installed.
The Adobe AIR Application should be installed successfully.
![App App](/uploads/1/2/6/2/126236344/279394129.jpg)
Using the new -ignoreExpiredCertificateTimestamp directive while launching AIR Application installer using Command Prompt/Terminal
Install the Adobe AIR Runtime
Steps to follow on Windows:
1. Open a command prompt as Administrator.
2. Run the following command:
“C:Program Files (x86)Common FilesAdobe AIRVersions1.0Adobe AIR Application Installer.exe” – ignoreExpiredCertificateTimestamp
3. Window opens up.
4. Select and open the AIR application to be installed.
Steps to follow on Mac:
1. Open Terminal.
2. Run the following command:
/Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer/ -ignoreExpiredCertificateTimestamp
3. Window opens up.
Adobe Reader XI (known in the past as Acrobat Reader) is a program for reading, printing and analyzing PDF files. Adobe Reader 11 lets you search text, apply bookmarks, rotate documents, zoom, side two pages on a single sheet, and more. Adobe reader 11 for mac download. About: Adobe Acrobat Reader DC software is the free global standard for reliably viewing, printing, and commenting on PDF documents. And now, it's connected to the Adobe Document Cloud − making it easier than ever to work across computers and mobile devices.
4. Select the AIR application to be installed.
Adobe AIR Applications gets installed successfully.