发布中的Android Google Maps API无法正常工作

发布中的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