Android - 找不到 google-play-services_lib.apk!错误 [英] Android - Could not find google-play-services_lib.apk! error
问题描述
我正在尝试通过以下链接使用新的 Google Play 服务进行 Google Plus 集成:http://ankitthakkar90.blogspot.sg/2013/05/google-plus-integration-in-android.html
I am trying to use the new Google Play Services for Google Plus integration from this link: http://ankitthakkar90.blogspot.sg/2013/05/google-plus-integration-in-android.html
我能够把一切都做好,除非我尝试运行它时,它给我带来了这个错误
I was able to get everything right except when i try to run it, it provide me with this error
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 引用了库,就像这里所做的一样:使用新的 Google Play 服务还是出现了这个错误.欢迎任何建议和反馈.
I did reference the library via eclipse Properties > Android > Add Library like what is done here: Using the new Google Play Services This error still occured. Any suggest and feed back is welcome.
推荐答案
添加引用库时,我们只需要 google-play-services_lib.jar.因此我们需要从您的项目中删除该项目.
When Adding refenced libraries we need only google-play-services_lib.jar.So that we need to remove the project from your project.
Project->Properties->javaBuildPath->Project->选择 google-play-services->remove.
Project->Properties->javaBuildPath->Project->select google-play-services->remove.
清理和构建.
这篇关于Android - 找不到 google-play-services_lib.apk!错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!