How to set versionCode in AndroidManifest.xml?

Dear All:

I deploy second version apk to Market, get the error message as blow:

The new apk's versionCode (1) in AndroidManifest.xml must be higher than the old apk's versionCode (1).  

I change version value when build to Android. But it is not OK! Please help! Thank you!

[import]uid: 51300 topic_id: 11442 reply_id: 311442[/import]

I find solution. update build.settings to add blow information:

settings = {  
android =  
{  
versionCode = "1"  
},  
}  

[import]uid: 51300 topic_id: 11442 reply_id: 41446[/import]