如何验证/排除 AVD 调试密钥的故障

发布于 2024-09-24 17:21:34 字数 401 浏览 3 评论 0原文

我正在尝试此处找到的 HelloMapView 示例: http://developer.android .com/guide/tutorials/views/hello-mapview.html

我遇到的问题是,当我运行我的应用程序时,没有任何地图图块将加载...我听说这通常是对我的谷歌做的地图 api 密钥不正确。我尝试使用从谷歌生成的密钥对我的应用程序进行签名,但应用程序仍然无法将图块加载到地图中。我可以缩放并影响地图的其他功能,除了实际加载图块之外的所有功能。我读到日食(我正在使用)会自动为你生成一个密钥,但这并没有发生。关于如何解决此问题有什么建议吗?谢谢!

I'm trying the HelloMapView example found here: http://developer.android.com/guide/tutorials/views/hello-mapview.html

Problem I'm having is that when I run my application, none of the map tiles will load... I heard this is usually do to my google maps api key not being correct. I tried signing my app with a key that I generated from google, but the application still wouldn't load the tiles into the map. I can zoom and effect other features of the map, everything except for actually loading the tiles. I was reading that the eclipse (which I'm using) will automatically generate a key for you, but that's not happening. Any suggestions on how to troubleshoot this problem? Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忘东忘西忘不掉你 2024-10-01 17:21:34

您应该获得调试密钥的 api 密钥。

You should get an api-key for your debug key.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文