更改 google 映射 api 键
Change google maps api key
我遇到了 google 地图的问题。
应用程序已经上传到商店。也失去了访问控制台的帐户。因此,我对应用程序进行了更新并创建了新的 api 密钥并为发布和调试版本添加了指纹。
生成的 apk 工作正常,但在我上传和发布更新后,地图不工作并且控制台有日志:
In the Google Developer Console (https://console.developers.google.com Ensure that the "Google Maps Android API v2" is enabled.
Ensure that the following Android Key exists:
API Key: AIzaSyAEtaL_6qG1Fri5K3K**********
Android Application (<cert_fingerprint>;<package_name>): 3B:96:BB:F4:9D:13:86:C8:2:******
我忘了做什么,更正更改 api 键?如何解决?
经过多次观察和实验。我找到了原因。
我正在使用 android studio 工具生成 apk。
艺术删除
signingConfigs
我的应用程序模块 build.gradle 的 部分开始运行。也许对某人有用。谢谢
我遇到了 google 地图的问题。 应用程序已经上传到商店。也失去了访问控制台的帐户。因此,我对应用程序进行了更新并创建了新的 api 密钥并为发布和调试版本添加了指纹。 生成的 apk 工作正常,但在我上传和发布更新后,地图不工作并且控制台有日志:
In the Google Developer Console (https://console.developers.google.com Ensure that the "Google Maps Android API v2" is enabled.
Ensure that the following Android Key exists:
API Key: AIzaSyAEtaL_6qG1Fri5K3K**********
Android Application (<cert_fingerprint>;<package_name>): 3B:96:BB:F4:9D:13:86:C8:2:******
我忘了做什么,更正更改 api 键?如何解决?
经过多次观察和实验。我找到了原因。 我正在使用 android studio 工具生成 apk。 艺术删除
我的应用程序模块 build.gradle 的signingConfigs
部分开始运行。也许对某人有用。谢谢