【发布时间】:2013-11-11 20:50:08
【问题描述】:
我正在尝试使示例 Android Google+ 应用正常工作...(此处由 Google 提供的示例应用:https://developers.google.com/+/quickstart/android)
“setAction”方法出现编译错误:
mPlusClient = new PlusClient.Builder(this, this, this)
.setActions(MomentUtil.ACTIONS) // Compiling error here !
.build();
我得到“方法 setActions(String[]) 未为 PlusClient.Builder 类型定义”
有人知道我为什么会收到这个错误???
谢谢!!
【问题讨论】:
-
您安装了哪个版本的 Google Play 服务?
-
好的,确实是版本问题。现在,我有: 1)在我的手机上:服务 Google Play 版本 3.2.66 2)在我的 Mac 上:SDK rev。 13 现在,我可以启动 Google Plus SDK 示例应用程序,但是当我想登录此示例应用程序时,我收到消息“除非您更新 Google Play 服务,否则此应用程序将无法运行”......关于原因的任何想法这个问题?
标签: android eclipse api google-plus google-play-services