google 播放服务超出了 GC 开销限制

GC overhead limit exceeded with google play services

我正在尝试 运行 我的 android 项目在 eclipse 和平台 ubuntu 64 位上。一切顺利,但是当我在项目中添加 Google play 服务时出现了一个大问题。

1.Running android 应用,高 CPU 负载。

  1. Eclipse 显示错误信息"GC overhead limit exceeded"。

  1. 最后关闭 Eclipse。

当从我的项目中删除 google 播放时,它可以 运行 正常运行。

我建议使用 android studio 而不是 eclipse https://developer.android.com/sdk/index.html

而且,您可以尝试使用更多内存启动 eclipse:How can I give eclipse more memory than 512M?

您是否将 google 播放服务中的所有内容添加到您的项目中?如果是这样,我建议你只依赖你的项目实际使用的API。

查看Selectively compiling APIs into your executable