发布中的Android Google Maps API无法正常工作 [英] Android Google Maps API in Release not working

查看:105
本文介绍了发布中的Android Google Maps API无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读了十多个问题和答案,并观看了一些YouTube视频。但我的Android应用程序和Google Maps Release版本无法正常工作。

I have a read a dozen of questions and answers and also watched some YouTube Videos. But my Android App with Google Maps Release Version aint working.

到目前为止我所做的:

What I have done until now:


  1. 获取SHA-1代码(是,它是正确的)

  2. 在Google Developer中注册
  3. 创建新项目

  4. 设置包名称和项目中的SHA-1

  5. 中设置(是,它是正确的)

  6. 获取密钥

  7. 将google_maps_key下的google项目中的密钥设置为字符串

  1. Get the SHA-1 Code (Yes, its the correct one)
  2. Register in Google Developer
  3. Create new Project
  4. Set in the SHA-1
  5. Set in the Package Name and Project (Yes, its the correct one)
  6. Get the key
  7. Set the key in google project under google_maps_key to String

该字符串链接在清单文件中。但它仍然没有工作......!任何想法?

The string is linked in the manifest file. But its still not working...! Any ideas?

推荐答案

使用此链接生成发行版SHA-1密钥。

Use this link to generate the release SHA-1 key.

http://www.truiton.com/2015/04/obtaining-sha1-fingerprint-android-keystore/

以下是官方文档。

https://support.google.com/cloud/answer/6158862?hl=zh_CN#creating-android-api -keys

这篇关于发布中的Android Google Maps API无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆