gpt4 book ai didi

android - 当我使用 proguard 时,谷歌地图没有加载

转载 作者:行者123 更新时间:2023-11-30 04:20:20 25 4
gpt4 key购买 nike

在我的应用程序 project.properties 中,我添加了 proguard.config=proguard.cfg 以使用混淆器。我已经导入了 apk 文件 --> export -->export android application -->create new keystore so on....

并创建了 apk 文件,当我在我的设备中运行这个 apk 时,谷歌地图没有加载,如何解决问题?

最佳答案

您是否可能忘记为 Google map 添加一个 API key ,该 key 是根据您的“实时” key 构建的 - 您在创建发布版本时用于签署 apk 的 key ?。如果您只有一个在调试时有效的 key ,它可能是针对 Eclipse 的调试 key 签名的。阅读更多相关信息 here .

这在我之前指向的链接中都有解释,更具体地说,请阅读 'Displaying the debug certificate fingerprint'对比'Displaying the release certificate fingerprint' .

关于android - 当我使用 proguard 时,谷歌地图没有加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9359315/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com