Skip to main content
Participant
Apr 8, 2016 4:22 PM UTC
Question

win,air sdk 22,versionCode bad

WINDOWS,AIR SDK 22 FOR APK;

When I update to the latest version of the SDK, android version, it reads the version number, an error occurs!

app.xml   : <versionNumber>10.1.2</versionNumber>


But read versionCode value is :  10001002

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Participating Frequently
Apr 11, 2016 5:17 AM UTC

Hi,

In case of Android <versionNumber> maps to versionCode and this is used to check if update is available or not.

While <versionLabel> maps to versionName and is only for representation purpose to show to the users.

If <versionLabel> is not provided then <versionNumber> is used for both versionCode and versionName.

For this case if <versionName> is 10.1.2 and <versionLabel> is not provided the values should be

versionCode - 10001002

versionName - 10.1.2

This can be verified by below command

aapt dump badging <yourapkname.apk>

Hope this Helps!

Thanks,

Krati

Translate
Participant
Apr 11, 2016 5:43 AM UTC

SDK22 There really is wrong.  Previous versions of right,


Translate
Participating Frequently
Apr 11, 2016 5:48 AM UTC

Could you please confirm what is the versionCode value when you package your application with a previous version of AIR SDK?

Thanks,

Krati

Translate