1

I know that there are two post like this one in Stackoverflow (this and this) but I already tried what is described there without any result and I have the feeling that I'm running out of options.

This screenshot is from one of these two posts, but is exactly what I also see. problem at importing

In my case, I was never able to make the googlemaps work and I tried to import and copy the stuff in so many different ways that I guess is what lead to the actual situation. In my last attempt, I was going to try to follow the steps described in this post, which seems to be the most accurate one, but as I said, now I just can't import the google-play-services_lib because keeps telling me that is in use. I made sure that I deleted the project from my workspace and any other place where it could be stored by searching for it.

Does anyone have an idea that is not described in the other two posts? Creating a new workspace and importing my project and then the google-play-services_lib could be a solution or the problem is of another nature? Is there a way of obtaining more information about the error shown by Eclipse in order to fix it?

Community
  • 1
  • 1
AlvaroSantisteban
  • 5,256
  • 4
  • 41
  • 62

4 Answers4

2

project name already exist on workspace most of time may be named as mainactivity (or other name) try to rename change existing project name and after try to import it!

e.g following steps

first screen shot shows your same error

enter image description here

after click select all button shows actual error explains below screen shot:

enter image description here

note this screenshot error message is Cannot import MainActivity because the project name is in use after shows project name rename on existing workspace on your eclipse after try again import it will work perfectly!

Stack Overflow User
  • 4,052
  • 6
  • 29
  • 47
0

google-playservices.lib is in use by another Project.

Check following

  • close the project who is using it with right click close
  • remove the reference from the project who is using it.
Oli
  • 3,496
  • 23
  • 32
0

I'm sure there are better ways to do it, but I ended up creating a new workspace, importing my project and then importing the google-play-services_lib.

Community
  • 1
  • 1
AlvaroSantisteban
  • 5,256
  • 4
  • 41
  • 62
0

I you don't have the library project in your eclipse works space and you still receive this message, you can just close eclipse, go to you workspace folder and manually delete the google-play-service library from there. then open eclipse and try to add the project again.

Emil Adz
  • 40,709
  • 36
  • 140
  • 187