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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
NamiaLus
Aug 11, 2018 18:57
This is by design. Split APKs are required by the Google Play Store to have different version codes.