GC overhead limit exceeded with google play services

人盡茶涼 提交于 2020-01-06 19:27:17

问题


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.

  1. Eclipse Show wrong message "GC overhead limit exceeded".

  1. Finally Close Eclipse.

When remove google play from my prject, it can running well.


回答1:


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?




回答2:


Did you add everything from google play services to your project? If so, I suggest you only depend on the APIs that your project actually uses.

See Selectively compiling APIs into your executable page



来源:https://stackoverflow.com/questions/30824481/gc-overhead-limit-exceeded-with-google-play-services

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!