Google 地图 activity 没有显示任何内容
Google map activity doesn't show anything
我制作了一张google地图activity(new->Google->Google Maps Activity)
。我还制作了 google API(xmls 文件中的 google_maps_key
)。当我调用这个 activity 时只出现 google 地图框,没有任何可视化。
如何显示地图?有什么想法吗?
我刚刚解决了这个问题。
我检查了日志,上面写着 "Authentication failed on the server"。因此,我检查了 www.console.developers.google.com
并发现 package name
不正确。 (这个包名是自动写的)我写对了,一切正常。
我制作了一张google地图activity(new->Google->Google Maps Activity)
。我还制作了 google API(xmls 文件中的 google_maps_key
)。当我调用这个 activity 时只出现 google 地图框,没有任何可视化。
如何显示地图?有什么想法吗?
我刚刚解决了这个问题。
我检查了日志,上面写着 "Authentication failed on the server"。因此,我检查了 www.console.developers.google.com
并发现 package name
不正确。 (这个包名是自动写的)我写对了,一切正常。