大家好,我正在开发一个地图应用程序。我的问题是,在创建发布版本并在真实设备上安装此版本时,地图正在加载,但在上传相同的版本到Play商店并下载到我的真实设备后,现在Google地图无法加载,出现错误。
E/Google Maps Android API: Authorization failure. Please see https://developers.google.com/maps/documentation/android-api/start for how to correctly set up the map.
04-25 18:05:27.159 10524-10703/? E/Google Maps Android API: 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: AIz~~~~~~~~~~~~~~~~~~~~~~~~~~~0
Android Application (<cert_fingerprint>;<package_name>)
有人知道我为什么会出现授权失败吗?我已经在Google API's console
中添加了发布的SHA1。我还尝试了获取新密钥,但没有成功。我已经在Stackoverflow上花费了2天时间,但没有运气。