当我在包资源管理器中单击导入的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
- 选择项目google-play-services_lib并将其从eclipse中删除,但是不要选择delete from hard disk
- 选择File> Import> Android> Existing Android Code Into Workspace,然后点击Next。
- 选择浏览…输入/配件/谷歌/google_play_services/libproject。
如果仍然不能运行,清理项目并重启eclipse
我的答案来源是重做步骤2在这里
当我导入时没有"Copy files to workspace"
我所做的。我刚刚复制了文件的内容extrasgooglegoogle_play_serviceslibprojectgoogle-play-services_lib
到google_play_services
文件夹
现在清理并构建lay_service_lib
,并再次引用该库到您的项目。清理并重新构建您的项目并完成…
我的工作空间现在正在工作与此帮助。