我的应用程序启动时收到此消息。
Ensure that the "Google Maps Android API v2" is enabled.
Ensure that the following Android Key exists:
API Key: AIzaSyBRaM8yt1*****MJRlbNI4WpvtSdl0Oc
Android Application (<cert_fingerprint>;<package_name>): CB:A8:D1:DB:D7:8B:D0:36:68:A8:23:***:9A:83:35:1C:2E;com.neustart.****
正是在我的 Android SDK 中安装了 Google Play 服务,并且我的代码一切正常,因为当我在另一台电脑上构建它时,这个应用程序正确启动并工作。当构建正确时,我试图从 pc 上制作我的 android studio 的完整副本,但问题仍然存在。
可能是什么问题?
最佳答案
不同的系统有不同的 sha1 .. 如果你想在其他电脑上运行你的代码,你必须为那个系统生成 sha1 并且你需要再次在控制台中为那个系统 sha1 获取 api key ...
关于android - 服务器上的身份验证失败。谷歌地图 API。安卓,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32373602/