Android Studio谷歌地图V2

3

我想知道有没有关于如何在Android Studio上实现Google Maps v2的文档,官方文档没有详细说明。 谢谢。

1个回答

0

这些步骤对我非常有效

首先,更新您的Android Studio版本至0.5.4或更高版本

其次,按您的需求创建项目,建议您至少创建17个API以确保Google Maps V2正常运行,并选择Google Maps Activity。

enter image description here

enter image description here

enter image description here

第三,这个更新的好处是Android Studio在Manifest.xml和Activity中已经配置好了直接进行测试。

enter image description here

第四点,不要忘记配置并输入您自己的api_key。

enter image description here

enter image description here

第五点:我建议您使用Genymotion来测试带有地图的应用程序,该模拟器更易于管理,更快速且更容易安装Google Play服务。

http://www.genymotion.com/

http://www.youtube.com/watch?v=iCRNqCXGNK0

enter image description here


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接