Android - stackoverflow Error

二次信任 提交于 2019-11-29 11:15:26

StackOverflowError usually occurs when there are too many recursive calls, so I would suggest that you check every method that would call itself very carefully, specifically conditions that would cause them to call themselves an unreasonable number of times (a few thousands), or cause a no-exit situation (infinite recursion).

For more detailed help, please post error log and other info.

Avoid calling any service or method inside pager on page selected because this method get called recursively many times and ultimately leads to stackoverflow error.

Sometimes is pretty hard to find StackOverflowError that appears on some devices that has smaller stack size. You can read an article how to decrease stack size.

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