update version code issue

I successfully published my app to amazon, then found a spelling error and did an update, so the version in the store is now 1.1 .  

I just attempted another update, giving it the version name 1.2.  I got this error message:  The version code of the uploaded binary is lower than the version code of the previous app version’s corresponding binary.

I built the app again this time, giving it the version code 2 and version name 1.2, but got the same message when I attempted to upload the binary.  I can’t remember whether I changed the version code when I did the first update and since I’m using Kwik and not coding I didn’t know how to find out, so I contacted amazon.  

They were able to tell me:

A: android:versionCode(0x0101021b)=(type 0x10)0xb

A: android:versionName(0x0101021c)=“1.1” (Raw: “1.1”)

Can anyone tell me what this means and what I need to enter in the version code field when I build my app so the version code of the update will sequentially follow the previous one?

Thanks,

Anna

Hi Anna,

Can you glance at the “Version Code” section under “Android Build Settings” in the following guide? This might help explain it…

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html

Thanks,

Brent

Hi Anna,

Can you glance at the “Version Code” section under “Android Build Settings” in the following guide? This might help explain it…

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html

Thanks,

Brent