Android StackOverflow Error

与世无争的帅哥 提交于 2019-11-29 15:59:45
Gimbl

You have too many nested viewgroups (see: java.lang.StackOverFlow error. Suspected too many views? for tips on how to reduce some of them)

Usually this happens because in one of your methods, you keep calling yourself (we call it recursive call). Check your method to make sure you call super.whatever(), and not just whatever(). Also, it'd be great to post your code here so we can point to where exactly it happens.

Sometimes StackOverflowErrro can appear on only particular devices because they have different stack size you can read article about StackoverflowError.

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