简体   繁体   English

为什么找不到Google Play服务?

[英]why Google play services is not found?

i can't add google-play-services_lib to project 我无法将google-play-services_lib添加到项目中

and google-play-services_lib not found in extras or add-ons 和Extras或加载项中未找到google-play-services_lib

i install google-play-services from sdk manager 我从sdk管理器安装google-play-services

the problem still appare in com.google.android.gms that is 问题仍然出现在com.google.android.gms中,即

The import com.google.android.gms cannot be resolved 导入com.google.android.gms无法解析

where exactly are you looking for Google Play Services? 您到底在哪里寻找Google Play服务?

After you have installed it via SDK Manager, look for it in your SDK folder extras/google/google_play_services 通过SDK Manager安装后,请在SDK文件夹extras / google / google_play_services中查找

You have to import it first in your IDE and then include in your project as a library project. 您必须先将其导入IDE中,然后将其作为库项目包含在项目中。

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

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