views:

83

answers:

1

friends,

while testing application on eclipse using emulator google map is being displayed properly.

but when i exported application to publish it.

google map is gone.

can any one guide me what mistake am i doing??

any help would be appriciated.

+4  A: 

When you exported your application to publish it, you are probably not using the debug keystore any more, but a custom one. (You cannot publish debug apps to Market). When you switch to another keystore, you will have to generate a new Google Maps API Key, based on that.

David Hedlund
i have created debug keystore and that file of 1.32kb i have right now. but with no extension its just file.should i get api key depending upon that keystore right?
UMMA
If your app is published on the Market, you will have two keystores, the debug keystore and the production keystore you used to create the Market version of your app. The Google Maps API key is tied to the keystore you use to sign the app, so there is one Maps API key that you use when you sign with the debug keystore (i.e., normal development) and one Maps API key that you use when you sign with the production keystore (i.e., going to Market).
CommonsWare