Android - 找不到 google-play-services_lib.apk!错误

标签 android service shared-libraries runtime-error

我正在尝试通过此链接使用新的 Google Play 服务进行 Google Plus 集成:http://ankitthakkar90.blogspot.sg/2013/05/google-plus-integration-in-android.html

除了当我尝试运行它时,我能够得到所有正确的东西,它给我提供了这个错误

Android Launch!
adb is running normally.
Performing com.anky.googleplus.MainActivity activity launch
Automatic Target Mode: using device 'CB5A1MQW4P'
Uploading GooglePlusDemo.apk onto device 'CB5A1MQW4P'
Installing GooglePlusDemo.apk...
Success!
Could not find google-play-services_lib.apk!
Starting activity com.anky.googleplus.MainActivity on device CB5A1MQW4P
ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.anky.googleplus/.MainActivity }

我确实通过 eclipse Properties > Android > Add Library 引用了库,就像这里所做的那样:Using the new Google Play Services 仍然出现此错误。欢迎任何建议和反馈。

最佳答案

添加引用库时,我们只需要 google-play-services_lib.jar。因此我们需要从您的项目中删除该项目。

项目->属性->javaBuildPath->项目->选择google-play-services->删除。

清理和构建。

关于Android - 找不到 google-play-services_lib.apk!错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16756561/

相关文章:

android - 计时器异常 - java.lang.RuntimeException : Can't create handler inside thread that has not called Looper. prepare() - Android

service - 发现 SPARQL 端点的版本

linux - 制作共享库,linux 需要更少的参数

c++ - 多次加载 DLL?

linux - 我如何确定一个库(比如说 "cursesw")是否是与 unix/linux 版本一起标准分发的

java - 将 JSON 条目添加到数组中以在 ListView 中使用

android - Delphi - Android - 将文本文件保存到内部存储

Android 无法从应用程序运行 logcat

windows - 使用 WiX 安装时启动外部服务

安卓架构组件 : How to insert repository parameter