Search Issue Tracker
By Design
Votes
1
Found in
2018.2.0f2
Issue ID
1058871
Regression
No
Splitting android build architecture prepends 10000 or 30000 to version code
To reproduce:
1. In a new project, in the Player Settings for Android, check on Split APKs by architecture
2. Build the project for Android
3. After the build finishes, go to {path_to_project}\Temp\gradleOut\build\outputs\apk\release and open the output.json file
4. Observe that VersionCode for x86 is 300001 and VersionCode for armeabi-v7a is 100001 instead of just 1
Expected: 30000 and 10000 are not prepended to the version code when splitting the build architecture
Reproduced in 2018.2.0f2, 2018.3.0a5
Did not test in 2018.1 and earlier versions, the ability to split APKs by acrhitecture was introduced in 2018.2
By design: each APK must have unique version code.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
NamiaLus
Aug 11, 2018 18:57
This is by design. Split APKs are required by the Google Play Store to have different version codes.