Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚注册了“C2DM”并创建了一个“Appengine 连接的 Android 项目”。启动 Android 项目后,当我尝试添加我的帐户时,服务器设置后出现错误:“无法打开与服务器的连接”。出现此错误是因为我的 C2DM 帐户尚未释放吗?
你用的是什么目标?如果您使用的是 AOSP (Android) 2.2 或更高版本,则需要改用 Google API 级别 8。这将允许您使用(必需的)谷歌帐户。
编辑:让我澄清一下,需要运行 Google vs Android 目标的是模拟器,而不是应用程序的构建目标。
Google Api 8 Emulator 不会有任何问题。为我工作。在 Eclipse.. Menu > Windows > Avd Manager > Create a new AVD with google api 8 。确保也更改项目的运行配置...