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

前端 未结 5 1219
滥情空心
滥情空心 2020-11-30 08:02

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. B

5条回答
  •  攒了一身酷
    2020-11-30 08:50

    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.

提交回复
热议问题