本文介绍了谷歌播放服务超出了GC开销限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在eclipse和平台ubuntu 64位上运行我的android项目。一切都很顺利,但是当我将Google Play Services添加到项目中时出现了一个大问题。
运行android应用程序,CPU负载过高。
- Eclipse显示错误信息GC overhead overhead exceeded exceeded。
- 最后关闭Eclipse。
当从我的项目中删除谷歌播放时,它可以运行良好。
解决方案
我会建议使用android studio而不是eclipse 。
但是,您也可以尝试使用更多内存启动eclipse:
I am trying to run my android project on eclipse and platform ubuntu 64 bit. Everything goes well but When I Add Google play Services to the project appear a big problem.
1.Running android app, hight CPU load.
- Eclipse Show wrong message "GC overhead limit exceeded".
- Finally Close Eclipse.
When remove google play from my prject, it can running well.
解决方案
I would suggest using android studio instead of eclipse https://developer.android.com/sdk/index.html.
But also, you could try launching eclipse with more memory: How can I give eclipse more memory than 512M?
这篇关于谷歌播放服务超出了GC开销限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!