我可以在仿真器中看到地图,但是一旦加载设备地图上的应用程序就不会显示。
I am able to see Map in emulator but once I load app on device map does not show up.
仿真器具有google api 1.6的目标,设备有android 1.6加载。
Emulator have target as google api 1.6 and device have android 1.6 loaded.
这个差异是否导致问题?
Is this diffrence causing issue?
请帮助并提前感谢。
please help and thanks in advance.
推荐答案你只是看到灰瓦吗?在这种情况下,这几乎绝对是API密钥的错误。仿真器使用调试密钥库,使用 androiddebugkey ,因此您应该为此创建一个API密钥。记住在将应用程序发布到市场时更改=)
Are you just seeing gray tiles? In that case it's almost definitely the API key that's wrong. The Emulator uses the debug keystore, with androiddebugkey, so you should create an API key for that. Remember to change it when you publish the app to the market =)
获取API密钥
更多推荐
Android地图:地图不显示在设备上
发布评论