Android Market App Update error - The new apk's versionCode (1) already exists.

Hi all,

Trying to update my app on Android Market and get this error

The new apk’s versionCode (1) already exists.

Using Daily Build 671

See my build.settings

[code]
settings =
{
orientation =
{
default = “landscapeRight”,
supported = { “landscapeRight” },
},

android =
{
versionCode = “2”
},
android =
{
versionName = “1.1”
},

} [import]uid: 13454 topic_id: 17661 reply_id: 317661[/import]

Have you build it on Version 2 with the Simulator? [import]uid: 86417 topic_id: 17661 reply_id: 67199[/import]

Thanks for your reply - Yeah without success. [import]uid: 13454 topic_id: 17661 reply_id: 67208[/import]

Try to decompile and edit the AndroidManifest and recompile it and sign it with the apktool.

[import]uid: 86417 topic_id: 17661 reply_id: 67258[/import]

martin.edmaier thanks for your reply but i think this is the wrong thing to do because we need to fix that within Corona SDK !
I don’t want that extra work every time i build a update, time is passing and i’ll keep trying XD another solution ! Thanks and Cheers ! [import]uid: 13454 topic_id: 17661 reply_id: 67260[/import]

but for its working with the build.settings

try mine:
– cpmgen build.settings
settings =
{
orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeRight”, “landscapeLeft”
},
},

android =
{
versionCode = “2”
},

androidPermissions =
{
–“android.permission.INTERNET”
},

}
Try that maybe the version name is the problem.
[import]uid: 86417 topic_id: 17661 reply_id: 67262[/import]

Ok bro used my own settings without the version name

so we got this on Android Market

versionCode 2
versionName 1.0 i need to update this to 2.0

waiting the next daily build ; cheers ! [import]uid: 13454 topic_id: 17661 reply_id: 67270[/import]

I think you might be hitting problems because of two ‘android’ sections.

I specify my settings like the following, and have had no problems when updating my apps on the Android Market.

[lua] android =
{
versionCode = “2”,
versionName = “1.1”
},[/lua] [import]uid: 70847 topic_id: 17661 reply_id: 67278[/import]

ingemar nicely done now it works perfect - thanks. [import]uid: 13454 topic_id: 17661 reply_id: 67308[/import]