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.
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
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
NamiaLus
Aug 11, 2018 18:57
This is by design. Split APKs are required by the Google Play Store to have different version codes.