2

google-play-services_lib在包资源管理器中单击导入时出现以下错误:

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.

我已经从 SDK 中删除了 Google Play Services 并重新安装了它,但还是出现了同样的错误。

编辑:问题已解决。该google-play-services_lib文件夹缺少一个名为.project

4

3 回答 3

5
  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

于 2014-04-19T01:41:19.873 回答
1

当我在没有“将文件复制到工作区”的情况下导入时为我工作

于 2014-03-12T21:01:38.450 回答
0

我做了什么。我刚刚复制了 extras\google\google_play_services\libproject\google-play-services_lib togoogle_play_services\文件夹的内容。

现在清理并构建lay_service_lib并再次将该库引用到您的项目中。再次清理并构建您的项目并完成..

我的 WorkSpace 现在正在使用此帮助。

于 2015-08-10T06:51:55.523 回答