Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

import google-play-service dependency red cross

I'm french and I would use "google-play-service" so I followed the procedure on the official web site to google here and here

And I'm blocked at this step :

To add the dependency to Google Play Services into your project Project -> Properties -> Android -> Library, Add -> google-play-services_lib "

I explain: Normally the "dependency" must be a "green check" at left.

After to press the button "Apply" the "green check" is always green, but when I leave the windows (whith press button "OK") and I return on this windows (mouse right>properties>Android) I didn't have a "green check" but I have now a "red cross" (shoot3) ... I don't understand why ?

Did you have the same problem ?

screenshot 1, screenshot 2 and screenshot 3

like image 861
NonowPoney Avatar asked Feb 06 '13 11:02

NonowPoney


2 Answers

Try to copy the google-play-services_lib next to your project's directory and open it from there.

Also you don't have to use Google Api's anymore - you can use Android Api.

like image 97
balazsbalazs Avatar answered Nov 12 '22 02:11

balazsbalazs


I was also having same problem. Location of Google play services and your project should be same.

If Google play services is in your work space then move your project to work space too.

Move Project to work space: Import project and check copy to work space!

like image 39
Murtaza Ashraf Avatar answered Nov 12 '22 03:11

Murtaza Ashraf