Problem with build.settings file

I was getting a strange error in the terminal window when building Android applications and I think I’ve tracked down the problem, but I don’t know if this is a bug or if I’m just not formatting the build.settings file correctly.

When I use this build.settings file:

settings =  
{  
 android =   
 {  
 versionCode = "1.0"  
 },  
  
 androidPermissions =   
 {  
 "android.permission.ACCESS\_FINE\_LOCATION",  
 "android.permission.INTERNET"  
 },  
  
 orientation =   
 {  
 default = "portrait"  
 },  
}  

I get this error message:

BUILD SUCCESSFUL
Total time: 0 seconds
2010-07-17 11:41:50.235 Corona Simulator[492:903] Connection error: (corona.get) ({
“/kWSHTTPResponseMessage” = {url = http://developer.anscamobile.com/services/xmlrpc; status = HTTP/1.1 200 OK};
})

But when I remove the “android” block from the build.settings so it’s like this:

settings =  
{  
 androidPermissions =   
 {  
 "android.permission.ACCESS\_FINE\_LOCATION",  
 "android.permission.INTERNET"  
 },  
  
 orientation =   
 {  
 default = "portrait"  
 },  
}  

then it builds fine.

This is with SDK 5. I’m having other problems with SDK 6 that I’ll post in a bit. [import]uid: 6403 topic_id: 1432 reply_id: 301432[/import]

http://developer.android.com/guide/topics/manifest/manifest-element.html#vcode
android:versionCode

An internal version number. This number is used only to determine whether one version is more recent than another, with higher numbers indicating more recent versions. This is not the version number shown to users; that number is set by the versionName attribute.
The value must be set as an integer , such as “100”. You can define it however you want, as long as each successive version has a higher number. For example, it could be a build number. Or you could translate a version number in “x.y” format to an integer by encoding the “x” and “y” separately in the lower and upper 16 bits. Or you could simply increase the number by one each time a new version is released.
[import]uid: 54 topic_id: 1432 reply_id: 4026[/import]