如何验证/排除 AVD 调试密钥的故障
我正在尝试此处找到的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该获得调试密钥的 api 密钥。
keytool -list -keystore ~/.android/debug.keystore
You should get an api-key for your debug key.
keytool -list -keystore ~/.android/debug.keystore
from a shell