Error Map views

HI
I wrote this code

-----------------------------------------------------------------------------------------  
--  
-- main.lua  
--  
-----------------------------------------------------------------------------------------  
  
-- hide the status bar  
display.setStatusBar( display.HiddenStatusBar )  
  
local mappa = native.newMapView( 50, 50, 200, 200 )  
mappa.isLocationUpdating = true  
  

but in debug I find this error

  
Copyright (C) 2009-2012 C o r o n a L a b s I n c .  
 Version: 2.0.0  
 Build: 2012.840  
WARNING: Map views are not supported in the simulator. Please build for device.  
Runtime error  
 ...erasmo\documenti\corona projects\googlemaps\main.lua:11: attempt to i  
ndex local 'mappa' (a nil value)  
stack traceback:  
 [C]: ?  
 ...erasmo\documenti\corona projects\googlemaps\main.lua:11: in main chun  
k  
Runtime error: ...erasmo\documenti\corona projects\googlemaps\main.lua:11: attem  
pt to index local 'mappa' (a nil value)  
stack traceback:  
 [C]: ?  
 ...erasmo\documenti\corona projects\googlemaps\main.lua:11: in main chun  
k  

Can I help me?
[import]uid: 100428 topic_id: 28235 reply_id: 328235[/import]

Is this on PC or Mac? I just tested this on Mac and am not getting an error from the provided code, though I do of course have the message that map views are not supported in the simulator.

Have you tried a device build OOI? [import]uid: 52491 topic_id: 28235 reply_id: 114064[/import]

Hi
Thank for you reply

I use WindowsXP

But I can not use this method because I wanted to make app mobile on Android

I read this notice after that I wrote on the forum

Thank

[import]uid: 100428 topic_id: 28235 reply_id: 114068[/import]