Android: Google Map v2 not showing map for release apk

后端 未结 16 1636
感情败类
感情败类 2020-12-08 16:04

My google map app works fine on device with debug google map API KEY but when I create signed apk for my app with release google map API KEY, it does not display map. To gen

16条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-08 16:32

    If you are created SHA1 code from custom keystore use the same in release mode. or generate apk by signing with that same keystore and test.

    Before that you need clear app data (Setting->App-select app-Clear data->uninstall) and try. this worked for me. Ensure that package name is same as that in google developer console.

提交回复
热议问题