Possible Duplicate:
Google map can be displayed on emulator but not in Android Device
I want to get .apk file for final version, but when i install the program on the phone, the program does not shows the map but when i run the program in eclipse, the program runs correctly. I think, maybe the program doesn’t have map libray. What is the problem? What should i do?
It’s because you are deploying using the Google Maps Api key for debug, not for release.
You should read https://developers.google.com/maps/documentation/android/mapkey.
Hope it helps, and if you need more helps let me know.
Steps to generate apiKey for release:
1. Build Keystore – from eclipse > right click on project and then android tools > Export Signed Application Package
2. Open cmd and write
where < your alias > is one used when generating the keystore
< path to keystore > to path where you have placed the keystore
This command can be different for you.
You will get the MD5 code needed for generating the api key.
Hope this helps.