Skip to main content
Participant
April 8, 2016
Question

win,air sdk 22,versionCode bad

  • April 8, 2016
  • 1 reply
  • 724 views

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 has been closed for replies.

1 reply

Community Manager
April 11, 2016

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

Participant
April 11, 2016

SDK22 There really is wrong.  Previous versions of right,


Community Manager
April 11, 2016

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

Thanks,

Krati