简体   繁体   English

导入google-play-service库,出现“找不到要导入的项目”

[英]Importing google-play-service library, appear “No projects are found to import”

I tried importing google-play-service library, but it shows me the message below. 我尝试导入google-play-service库,但它向我显示以下消息。

It's the Path: 这是路径:

这是道路

IT's the message: 信息是:

这是消息

What did I do wrong?!? 我做错了什么?!?

Hey,Try this way,hope this will help you to solve your problem 嘿,尝试这种方式,希望这可以帮助您解决问题

Copy your google play service from eclipse and paste in same derive of your system where you create project, then check. 从eclipse复制您的Google Play服务,并粘贴到创建项目的系统的同一派生中,然后检查。

if it not work then create new workspace and check. 如果不起作用,则创建新的工作区并检查。 sometime it make app by default and said there is no project. 有时它会默认使应用程序运行,并说没有项目。

Checkout and tell me if it work or not 结帐并告诉我是否可行

You just Import the project Sdk/extras/google/google_play_sevices/libproject/google_play_services_ib/ dont go beyond this path, just imort this whle projest. 您只需导入项目Sdk / extras / google / google_google_play_sevices / libproject / google_play_services_ib /都不会超出这个路径,只是想知道这个过程。

Note: While importing or attaching lib project with your project then take care of one thing: If path appear on import starts with a drive letter(C:, D: etc) then ,it means import not successful, it should be start with dot (...) 注意:在将lib项目导入或附加到项目中时,请注意以下事项:如果导入时出现的路径以驱动器号(C:,D:等)开头,则表示导入不成功,应以点开始(...)

The library project should be on same location where your project is (for successfull import.) while it is in workspace on at any other location. 库项目应该位于项目所在的同一位置(以便成功导入。),而库项目位于工作空间中的任何其他位置。

尝试将其直接粘贴到您的工作空间中,如果您只想添加jar文件,则对特定项目使用buildpath选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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