.apk versionCode being ignored?

Hello all!

Has anybody uploaded a new version of their Android app recently to the marketplace?

I am trying to upload a new version of my game and the upload page keeps hollering about:
“The new apk’s versionCode (1) in AndroidManifest.xml must be higher than the old apk’s versionCode (1).”

I have the versionCode set in the build.settings file, but it doesn’t seem to be working?
Is thee anything else I should check?

Here is the code in my build.settings file:

settings =  
{  
        android =  
        {  
                versionCode = "2"  
        }  
}  

Any help is appreciated!
Joe [import]uid: 8444 topic_id: 3926 reply_id: 303926[/import]

When I first published the game, I did not have any settings for android in the build.settings file.
I was not aware that the versionCode was needed.

Does Corona make default settings when the build settings are not there?

Perhaps my new settings are not overwriting the original settings? [import]uid: 8444 topic_id: 3926 reply_id: 11941[/import]

. [import]uid: 8444 topic_id: 3926 reply_id: 11943[/import]

Necromancing this because I’m having the same issue. [import]uid: 11024 topic_id: 3926 reply_id: 12683[/import]

We’ve just tried to update our game and had the same problem.

So following this thread, we tried to add the versionCode setting… versionCode = “1.01” and this caused an error during the build. To fix this we used the same as the example here (an int of “2”) and this corrected the issue - even though we still set the version to 1.01 in our build dialogue screen in the Corona simulator.

Hope that helps someone! [import]uid: 30105 topic_id: 3926 reply_id: 19211[/import]

@ barraxworld

It helped me. Thanks! [import]uid: 3953 topic_id: 3926 reply_id: 20535[/import]

I solved this problem! I forgot a comma in my build.settings file

settings =
{
android =
{
versionCode = “2”
},
iphone =
{
plist =
{
CFBundleIdentifier = “com.goodergames.kickballlegendpro”,
UIPrerenderedIcon = true,
},
}
} [import]uid: 13014 topic_id: 3926 reply_id: 29121[/import]