Home » Android » android – Why can't I import google play services into eclipse?

android – Why can't I import google play services into eclipse?

Posted by: admin June 15, 2020 Leave a comment

Questions:

I am trying to import the google-play-services_lib into Eclipse but I am not able to import it as I am getting the following warning no projects are found to import. Can anyone suggest a solution to this? Please give step by step instructions as I am a newbie.

How to&Answers:

You can import android project in two ways,

enter image description here

In your case I suggest you to use 2nd way.

Note, the Android project which doesnt contain .class file, .project file can be import using 2nd option. In all other cases 1st option is better.

Answer:

Import the library project to your eclipse

Click File > Import, select Android > Existing Android Code into Workspace,
and browse the workspace import the library project

See How to Add Google Play Services SDK to Your Project for more details.

Answer:

Delete project (google_play_services) from SDK Manager then reinstall project (google_play_services) and import.

Answer:

You should choose option to ‘Create project from existing source’ from File->New->Android Project