tags:

views:

436

answers:

3

I am able to see Map in emulator but once I load app on device map does not show up.

Emulator have target as google api 1.6 and device have android 1.6 loaded.

Is this diffrence causing issue?

please help and thanks in advance.

+6  A: 

Are you just seeing gray tiles? In that case it's almost definitely the API key that's wrong. The Emulator uses the debug keystore, with androiddebugkey, so you should create an API key for that. Remember to change it when you publish the app to the market =)

Obtaining an API Key

David Hedlund
+3  A: 

While the problem is most likely the one that Mr. Hedlund suggested...if the built-in Google Maps application also does not work, it is likely to be a problem accessing the Google Maps tile server from the emulator over the Internet. You would need to discuss this with your IT department.

CommonsWare
Now it is working. Key I have created using debug key store is fine.After few install uninstall on Device app started working.Thank you guys for support.
vikram deshpande
A: 

I had the same problem with gray tiles, even though I had created/verified the API key, and had previously had the map working for some time. Turns out at some point, I edited the manifest file and moved the permissions lines. They apparently need to go BEFORE the application element. Thanks to Alan LaMielle (link) for that solution!

matadur