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

后端 未结 4 1393
感动是毒
感动是毒 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:40

    It's important to remember that Build Releases debug and release mode often have different (.xml) values file. if you are using a Linked Resource File (eg: Google_maps_api.xml) to manage your Maps Api Key, you need to update both files with their appropriate keys.

    Keys must be signed using the same procedure as described above ( using your .jks keystore file ..etc )

提交回复
热议问题