Skip to content

Is it possible to know with which version of AIR was aab/apk built? #3170

Answered by ajwfrost
GeneralVimes asked this question in Q&A
Discussion options

You must be logged in to vote

There may be a few ways of doing this... the one I just tried was to pull out the "libCore.so" from the APK file (under a lib folder) and then grep it:

$ grep -ao '[0-9][0-9]\.[0-9]\.[0-9]\.[0-9]' libCore.so

which should display the version string (as well as most of the 'localhost' IP address a few times!)

There's a class definition in the dex stuff but I'm not sure how easy that would be to get at... but in case it helps:

air.com.adobe.appentry.GetVersionCode.AIR_BUILD_VERSION

And then if you were able to change the SWF file in your application (unzip the apk, change it, re-zip and re-sign), you could try checking the AS3 Capabilities version value...

But also ... I think just run it …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@GeneralVimes
Comment options

@itlancer
Comment options

@MalacTheLittle
Comment options

@ajwfrost
Comment options

Answer selected by GeneralVimes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants