加入谷歌的API,以现有的Eclipse项目 [英] Add Google API to existing eclipse project

查看:128
本文介绍了加入谷歌的API,以现有的Eclipse项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写一个Android应用程序,将使用谷歌地图,但要实现这一点,我需要谷歌的API。当我下载了Android平台的SDK(例如Android 4.0的)我没有下载谷歌API的原因不知道,我需要它来实现这一feature.However,我回去,并下载了它。我该如何将它添加到现有的项目。做了一些搜索和所有展示了如何启动一个新的项目与API但不知道如何将其添加到现有的项目。

I am writing an android app that will use Google Maps but to implement this I need the Google API. When I downloaded the android platform sdk (example android 4.0) I did not download the Google API cause did not know that I would need it to implement this feature.However, I went back and downloaded it. How do I add it to my existing project. Did some searching and all showed how to start a new project with the API but not how to add it to the existing project.

推荐答案

既然你已经下载了,你正在开发,例如安卓4.谷歌的API的版本,所有你需要做的是:

Since you have already downloaded the Google APIs for the version that you are developing for, example Android 4. all you have to do is:

右键点击您的项目 - >进入属性 - >那么Android的 - >然后选择谷歌的API,在API级别14

这篇关于加入谷歌的API,以现有的Eclipse项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆