Reputation: 1391
The AIR SDK is usually only referenced by major and minor version number, but there are important differences in the numbers way to the right. How can I inspect my installed SDK and know for certain which exact version it is?
Upvotes: 1
Views: 2349
Reputation: 19176
For the most definitive answer, directly ask AIR SDK what version it is (adt.jar
is the AIR SDK's packager):
java -jar C:\air_sdk\lib\adt.jar -version
Which prints the full version number:
3.9.0.1030
How to find the adt.jar
file on your system? Often you'll have an environment variable set pointing to your AIR SDK, such as AIR_HOME
or AIR_SDK_FOLDER
, so you can use that in your command:
Windows:
java -jar %AIR_SDK_FOLDER%\lib\adt.jar -version
Or on a Mac / Linux:
java -jar $AIR_SDK_FOLDER/lib/adt.jar -version
Upvotes: 1
Reputation: 68
Mac OS X
Open the /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Info.plist text file and locate the CFBundleVersionentry. The corresponding string entry represents the version of AIR, for example:
CFBundleVersion 26.0.0.127
https://helpx.adobe.com/air/kb/determine-version-air-runtime.html
Upvotes: 1
Reputation: 155
Correction to the above, it's adt, not adl to spew the version number to the commandline on Mac (and probably Windows too).
So:
%AIR_SDK_FOLDER%/bin/adt -version
Upvotes: 0
Reputation: 565
From Mac Write the following console command to check the current version of Adobe AIR SDK: %AIR_SDK_FOLDER%/bin/adl -version
Upvotes: 0
Reputation: 1339
If you're on Windows:
The Details tab contains a property named "File Version" with a value that shows the full version of the AIR SDK (e.g., 3.5.0.1060).
If you're on a Mac (or on Windows), you could just create a bare-bones AIR app and add this line of ActionScript:
trace(NativeApplication.nativeApplication.runtimeVersion);
When you test the file in your IDE of choice, you should see the full AIR SDK version in your IDE's output panel.
Upvotes: 5