0

Hi i am new to android application development. I did a google map v2 to show my current location using GPS.

It will work fine when i testing with mobile using USB cable but the issue is when i convert my application into .apk it will retrive my gps current >location but did not show the map

Can anyone help to resolve my problem?

yogi
  • 43
  • 1
  • 10

2 Answers2

2

for generation .APK you must have to use keystore & MAP API KEY from same machine. if this two are diffrent from diffrent machine then it 'll heppend.. (mean MAP are not show)

if you have diffrent keystore then you can get MAP API Key from Keystore.

check below links:

How can I get the MD5 fingerprint from Java's keytool, not only SHA-1?

https://stackoverflow.com/a/5262845/1168654

Edited

open this link: follow steps on "Getting the MD5 Fingerprint of the SDK Debug Certificate" then sign up from this link : after that use that map key in you code see what heppend.

Community
  • 1
  • 1
Dhaval Parmar
  • 18,812
  • 8
  • 82
  • 177
  • Dhaval Sodha Parmar@ i correctly did all the things but still i got the same output(MY mobile does not show the map ) – yogi Mar 26 '13 at 06:52
  • Dhaval Sodha Parmar@ friend this is for google map api version 1 but i need google map api 2..its need only SHA1 no only..i also got that – yogi Mar 26 '13 at 07:27
  • you got SHA-1?? then also get MAP API KEY?? m i right? then put tha map key in your code. run it. you must have to do this.. otherewise there is no simple way.. you have to check all step mannually.. – Dhaval Parmar Mar 26 '13 at 07:30
0

This suggests that either you do not have the Google Play Services referenced in the project properly or your device doesn't support it.

Please read the Quick Start on how to properly reference the jar in your project.

RyPope
  • 2,645
  • 27
  • 51
  • RyPope@ how to chek this one GooglePlayServicesUtil.isGooglePlayServicesAvailable(getApplicationContext()); – yogi Mar 26 '13 at 06:55