Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android can't import google play services

From SDK Manager I have download the google play services, but when I try to add this lib to my project from right click then import the existing android code into workshop then when I select the google play services lib from C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib I got this error (see the pic below please) .

note

I have android support v4 (maybe this makes problems? I just tell you because I don't know if this would make mistakes). enter image description here

like image 825
user2208349 Avatar asked Apr 01 '13 11:04

user2208349


People also ask

Why is my phone not compatible with Google Play Services?

It appears to be an issue with Google's Android operating system. To fix the “your device is not compatible with this version” error message, try clearing the Google Play Store cache, and then data. Next, restart the Google Play Store and try installing the app again.

How do I make Google Play Services work again?

Restart Your Phone One of the easiest ways to fix most Android problems is to restart your device. The idea behind it is pretty simple. If an app or a background service on your phone is causing Google Play Services to crash, restarting the phone would clear it off the RAM and put the device in a new state.


1 Answers

Seems to be you have already imported the google-play-services_lib project and just deleted from eclipse ide but not in your hard drive workspace folder. Try deleting the google-play-services_lib project from your workspace folder and try importing the project again.

And make sure "Is Library" is checked in properties->Android of google-play-services_lib project.

like image 137
flexdroid Avatar answered Sep 28 '22 09:09

flexdroid