【发布时间】:2014-07-10 15:42:20
【问题描述】:
我有 ./sdk/extras/google/google_play_services_froyo/libproject/google-play-se\ rvices_lib/libs/google-play-services.jar
在项目中 -> 属性 -> Android 已选择 Google API。
我已尝试按照以下说明进行操作 import cannot be resolved
当我尝试 Project -> Properties -> Java Build Path -> Projects 或 项目 -> 属性 -> Java 构建路径 -> 我没有得到 google play jar 的选择。 当我尝试导入 -> Android -> Existing Android Code into Workspace Eclipse 无法识别 .jar 文件。
我错过了什么? 请帮忙。
基因。
【问题讨论】:
-
您不需要选择
Google APIs,它们现在没用了,而且您需要的不仅仅是jar文件,您需要将整个google play服务库导入您的工作空间。您发布了一个链接,其中包含您问题的所有答案,因此请按照该链接进行操作 -
链接问题中的步骤适用于 windows,不适用于 ubuntu/eclipse 设置。将 google-play-services 导入 Workspace 的具体步骤是什么?我有 ADT 23.02,eclipse 平台 4.2.2
-
所以用 Linux 的东西代替所有的 windows 东西它仍然是一样的。您将 sdk 保存在某处,这就是它所在的位置
标签: android eclipse google-maps google-play-services