不能导入进口com.google.android.gcm.GCMBaseIntentService [英] can't import import com.google.android.gcm.GCMBaseIntentService

查看:154
本文介绍了不能导入进口com.google.android.gcm.GCMBaseIntentService的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好我有一个巨大的问题就在这里。我有一个使用GCM但进口解决不了的项目。我试着在这个网站和其他所有其他的建议,但似乎没有任何工作。请帮忙 我已经下载了库中复制的jar到我的/ libs文件夹并将其添加到构建路径

guys i have a huge problem here. i have a project that uses gcm but the import can't be resolved. I've tried all other suggestion on this site and others but nothing seems to work. please help I've downloaded the library copied the jar into my /libs folder and added it to build path

但我仍然对进口得到了一个错误

but i still got an error on the import

有什么可以是问题?

推荐答案

先删除谷歌从Eclipse和清洁工程发挥服务

first delete google play services from eclipse and clean project

有关谷歌播放服务先安装谷歌播放服务

For google play services first install Google play Services

SDK管理器 - >附加功能 - >谷歌播放服务

SDK Manager -> Extras -> Google play Services

安装到后

文件 - >导入 - >您的SDK文件夹的路径 - > extras->演员/谷歌/ google_play_services / libproject /谷歌播放services_lib

File->import->your SDK folder path ->extras->extras/google/google_play_services/libproject/google-play-services_lib

确认gcm.jar您的ADT是存在

Make sure gcm.jar is exist on your adt

/Users/SS/Desktop/Android/adt-bundle-mac-x86_64-20130717/sdk/extras/google/gcm/gcm-client/dist

/Users/SS/Desktop/Android/adt-bundle-mac-x86_64-20130717/sdk/extras/google/gcm/gcm-client/dist

这篇关于不能导入进口com.google.android.gcm.GCMBaseIntentService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆