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.
Asked
Active
Viewed 3,451 times
8

anu_r
- 1,602
- 7
- 30
- 61
-
2Select "Import-Existing Android code into Workspace". You must be clicking "Existing Projects into Workspace" – Dhaval Apr 02 '14 at 08:52
-
Copy `google-play-services_lib` into `workspace` and then import into Eclipse with uncheck an option of copy into work space.. – RajaReddy PolamReddy Apr 02 '14 at 08:53
-
The above solution is useful as well. – Dhaval Apr 02 '14 at 08:54
-
I have answered a similar question [here](http://stackoverflow.com/questions/22799478/appcompat-library-for-android-how-its-linked-with-project/22799866#22799866). Even though it's for another library, but the steps to import external libraries are the same. – ChuongPham Apr 02 '14 at 08:58
3 Answers
16
You can import android project in two ways,
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.

Lucifer
- 29,392
- 25
- 90
- 143
-
For me the second way shows not projects in the list view. The first way does but the process of importing fails with a null pointer exception. Gaah updates!! I knew I should not have updated the Android SDK, it broke everything. – Andrew S May 19 '16 at 15:14
1
Delete project (google_play_services) from SDK Manager then reinstall project (google_play_services) and import.

Santiago Medina Chaverra
- 376
- 3
- 6
0
You should choose option to 'Create project from existing source' from File->New->Android Project

gandharva
- 691
- 5
- 16