【发布时间】:2014-03-07 04:14:07
【问题描述】:
我想在我的应用程序中集成 Google Drive api。我按照this tutorial 设置示例,this link 设置 Google Play 服务库。问题是当我将 Google Play 服务库链接到我的项目时,我遇到了以下问题:
-
@integer/google_play_services_version未找到。我搜索并尝试了很多方法,但没有帮助(例如,Adding Google Play services version to your app's manifest? 和Google Play Services Library update and missing symbol @integer/google_play_services_version)。然后我发现原来的 google play 库中没有version.xml,即使我在 Android SDK Manager 中更新了最新的库。 - 无法在我的 Drive 示例项目中导入任何 Drive 包。它看起来像这样:
The import com.google.android.gms.common.api cannot be resolved
这是我的详细信息:
有谁知道这些问题?
【问题讨论】:
-
您需要在
manifest.xml文件中的<application>标签下添加google_play_services版本为<meta-data>标签 -
@SimplePlan 我已经添加了。你可以在我的图片中看到。
标签: android eclipse google-drive-api