AndroidManifest.xml file <manifest> attribute versionCode

Versions of your applications on the Android Developers website:

If you released the first version of your application with a set of versions to 1, then monotonously increase the value with each version, regardless of whether the release is a major or minor release.

This is good and good, but how to handle this sequence?

1 1.0
2 1.1
3 1.2
4 1.3
5 1.4
6 2.0
? 1.5
+3
source share
2 answers

I assume that in this sequence you are really trying to say: "What if we want to release the next generation of tech 2.0, but then still release patch 1.5 against the technology of the 1.0 series?"

:

  • - 2.0, 2.0
  • 2.0- , , 1
  • ... № 3

, 2. , , , (1.5 2.0), , , .

+5

, . :

10000 1.0-0
10001 1.0-1
10002 1.0-2
10100 1.1-0
10103 1.1-3
10200 1.2-0
20000 2.0-0
10201 1.2-1

100 100 (2 ). 10 (1 ), "" , . , 1000 (3 ) .

2 31 16- 63 unsigned. / Android , 64 , .

, , .

:

... ,

android: versionCode -

, , , . , , , .

" ". , 1.2-1 2.0-0 1.2-0, , . versionCode values: 10200, 10201 20000 " ". , ?

+3

Source: https://habr.com/ru/post/1710887/


All Articles