简体   繁体   中英

Google play services in eclipse has stopped working

The following error occurs when I click on the imported google-play-services_lib in the package explorer:

The project description file (.project) for 'google-play-services_lib' is missing.  
This file contains important information about the project.  
The project will not function properly until this file is restored.

I have deleted Google Play Services from the SDK and re-installed it, but the same error occurs.

Edit: The problem has been solved. The google-play-services_lib folder was missing a file called .project

  1. select the project google-play-services_lib and delete it from eclipse , but don't select delete from hard disk
  2. Select File > Import > Android > Existing Android Code Into Workspace and click Next.
  3. Select Browse.... Enter /extras/google/google_play_services/libproject.

if it still not working clean project and restart eclipse

source of my answer is redo step two in here

在不导入“将文件复制到工作空间”的情况下为我工作

What i have done. I have just copied the content of the extras\\google\\google_play_services\\libproject\\google-play-services_lib to google_play_services\\ folder.

Now clean and build lay_service_lib and reference again that library to your project. Clean and Build your project again and DONE..

My WorkSpace is working now with this help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM