Software Archive
Read-only legacy content
Avisos
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discusiones

[xdk 2496] version code in final apk is not as set

Roi_D_
Nuevo Colaborador I
1.095 Vistas

Hi,

I wanted to update my apk today and this is the first time I build with XDK 2496 for the play store.
I set version code to 3. uploading the apk in the play store developer console says I have version code set to 38.

Is it a bug in the new XDK? in the build server?

This can be a real problematic if the version code just set randomly. specially if it will go lower than what's already in the app store.

Thanks,
Roi

0 kudos
6 Respuestas
Roi_D_
Nuevo Colaborador I
1.095 Vistas

For other readers who have this problem. I used apktool to decode the apk changed the version code in yml file and used apktool again to build a new apk from the folder.

I installed the apk successfully on my phone and uploading to the play store developer console showed me the right version code now.

Josef_J_
Principiante
1.095 Vistas

you are right for some reason version 1 when uploaded to play store  becomes 18 and version 2 becomes 28  and version 3 becomes 38 , it adds  8 to any version . it must be a bug !

PaulF_IntelCorp
Empleados
1.095 Vistas

@Roi -- was this a Crosswalk build or an Android build? Also, were you building with CLI 4.1.2 or CLI 5.1.1. You should not be seeing that sort of change to the version code. Please provide additional details so we can resolve this issue.

Roi_D_
Nuevo Colaborador I
1.095 Vistas

This is an Android build and using CLI 5.1.1.

 

John_H_Intel2
Empleados
1.095 Vistas

I was able to replicate this and am working to get it fixed. Will post back when the bug is resolved.

John_H_Intel2
Empleados
1.095 Vistas

Please see this sticky post for more info on App Version Code's for CLI 5.1.1

https://software.intel.com/en-us/forums/intel-xdk/topic/594778

Responder