Google-map work on emulator but doesn't on real device

后端 未结 4 1436
感动是毒
感动是毒 2021-01-29 11:09

I applied the exact steps as mentioned in the google developer doc to create an example google map project and everything went fine on the emulator, but when I generated the pro

4条回答
  •  甜味超标
    2021-01-29 11:50

    It is working on emulator on debug mode because you are using the Google Map Api key which is register with your debug.keystore file. To access Google Map into the real device you have to generate the Google Map key using the keystore file which you are using to generate the apk file.

提交回复
热议问题