如何手动谷歌API库添加到Eclipse中的一个项目? [英] How to add manually Google API library to a project in Eclipse?
问题描述
我在做小项目的GPS。之前,我在32位的笔记本电脑工作,我不得不选择目标设备:
每每个API 2×。一个是从谷歌和第二的设备。我的笔记本电脑去了。我买了新的64位。我已经安装了从开始的每一件事情,现在我没有谷歌API选项,当我开始新的项目。当我尝试任何库添加到现有的项目我也有哪怕一个人们不来接。我不得不重新安装所有3次并没有什么,所以现在
我只有一个选择 - 手动将其添加到我的项目。
I'm doing small GPS project. Before I work on 32-bit laptop and I had option Target device: 2 x per every API. one was from Google and second from device. my laptop went down. I've bought new one 64-bit. I've installed every thing from beginning and now I don't have Google API option when I'm beginning new project. And when I try to add any libraries to an existing project I have also not even a single one to pick. I've had reinstall everything 3 times and nothing, so now I have only one option - add it manually to my project.
我在哪里可以下载谷歌地图API为Android,以及如何将它们添加到现有项目中手动
Where I can download Google Maps API for Android, and how to add them to my existing project manually
推荐答案
您可以通过打开SDK和AVD管理器安装谷歌API的目标。要么去窗口 - > SDK和AVD管理器
在Eclipse或启动机器人
从 ANDROID_SDK \\工具
文件夹中的应用
You can install the Google API targets by opening the SDK and AVD manager. Either go to Window -> SDK and AVD Manager
inside eclipse or start the android
application from the ANDROID_SDK\tools
folder.
当打开时,选择提供的封装
在左边,然后打开的Android库
树。应该有上市的各种谷歌的API。检查那些与你所需要的API级别,然后单击安装选择
。一切都通过后,就可以开始与谷歌所需的API一个新的项目。
When open, select Available packages
on the left, then open the Android Repository
tree. There should be various google APIs listed. Check the ones with the API levels you need and click Install selected
. After everything went through, you can start a new project with the desired google APIs.
这篇关于如何手动谷歌API库添加到Eclipse中的一个项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!