签名apk文件我的Play商店应用程序,没有地图

时间:2014-01-09 11:00:48

标签: android google-maps apk

我在playstore上有一个使用地图的应用程序。虽然它在调试中运行良好,但地图不会出现在realease中。 我做了以下步骤:

- activate maps v2 on google console
- get the API key
- paste the API key in my manifest
- export the apt file with eclipse tool to generate and sign

2 个答案:

答案 0 :(得分:1)

这是因为您的给定SH1 fingerprint签名与您应用的SH1不匹配。获得API Key from API console后,您输入SH1;package_name_of_your_appSH1不是您的APP的确切SH1。因此,地图未显示。

这也发生在我身上。如有需要,请问我。

已编辑的答案

你会得到这种类型的东西

enter image description here

答案 1 :(得分:1)

在Eclipse中导出时,您会看到发布应用程序的SHA1签名。使用该密钥创建一个新密钥,然后添加它。然后像往常一样继续。问题是你必须有不同的密钥才能发布和调试。不知道这究竟写在哪里,但我认为this应该足够作为一个来源。

相关问题