Android Market - Error uploading .apk

Hi, I’m a newbie here and having a little troubling uploading my .APK to Android market. I’m getting the following error message:

“Market requires versionCode to be set to a positive 32-bit integer in AndroidManifest.xml”

Has anyone seen this before - and anyone know how to get past it? BTW, I did set the version number in Corona Build to a positive integer (I tried a bunch of different numbers).

Any help? [import]uid: 76436 topic_id: 17933 reply_id: 317933[/import]

You set the version twice. Once when building and once in build.settings.

Eg;
[lua]settings =
{
android =
{
versionCode = “1”
},

orientation =
{
default = “landscapeRight”,
content = “landscapeRight”,
supported =
{
“landscapeRight”, “landscapeLeft”,
},
},
}[/lua]

Peach :slight_smile: [import]uid: 52491 topic_id: 17933 reply_id: 68541[/import]

Thank you. That was incredibly helpful. All better now.

:slight_smile: [import]uid: 76436 topic_id: 17933 reply_id: 68570[/import]

Fantastic! Thanks for updating the thread :slight_smile:

Peach :slight_smile: [import]uid: 52491 topic_id: 17933 reply_id: 68592[/import]

Hi, I’m having the same issue with the same error.

When I remove the versionCode from build.settings and try to upload to Android Market I still get the same error.
[import]uid: 27671 topic_id: 17933 reply_id: 69929[/import]

Hi Josh,

I solved the problem when I put the versionCode setting into the build.settings file, and used the same versionCode on the Corona build screen.

Make sure that every time you upload, you make sure the build’s versionCode is higher than the previous one.

Cheers. [import]uid: 76436 topic_id: 17933 reply_id: 69949[/import]

Thanks! That fixed it! [import]uid: 27671 topic_id: 17933 reply_id: 69964[/import]