Google Map Android API v2 can't display map in play store application

android, google-maps, google-maps-api-2

Solution

What type of keystore you are using? there are two keys. `Debug` and `release key`. If you use debug key and uploaded in android market, map will look blank. Use release key when you signed your apk.

Release key procedure

Step 1:

Say for example your apk name is A and you are signing and creating a keystore for A.apk ie A.keystore will be created in some drive location.Let's consider it in E drive.

step 2:

Now locate to jdk in C drive(Considering for windows and assigning C drive)

C:\Program Files\Java\jdk1.7.0\bin>keytool -list -v -keystore E:\A.keystore -alias A

So it will create SHA-1 finger print.

Problem

I am working with the `Google Map Android API v2` in an android application. It works fine with the unsigned apk on a different device. But when I have signed the apk and uploaded my application to the Play Store the downloaded application displays a white screen instead of the map.

Original source