Android - Could not find google-play-services_lib.apk! error

Tay Victor picture Tay Victor · May 26, 2013 · Viewed 40.3k times · Source

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 }

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.

Answer

anshad picture anshad · Jul 1, 2013

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->select google-play-services->remove.

clean and build.