Crash at dalvik.system.NativeStart.main(Native Method)

落爺英雄遲暮 提交于 2019-12-10 16:17:45

问题


Just got error report at Google Play (ex. Android Market) publisher interface.

Here is full stacktrace:

java.lang.OutOfMemoryError: [memory exhausted] at dalvik.system.NativeStart.main(Native Method)

That's it. As far as I understand it crashed without even reaching my code. Is there something I should do or should I simply ignore this error? How could this happen?


回答1:


Ignore it, there's nothing you can do. In some cases, you'll get an OutOfMemoryError with a reasonable stack trace. These are actionable. What you've pasted isn't.




回答2:


I think it is an error not related to your app. It is related to the system (phone system) not able to handle the processes running on it in terms of memory. And your process gets selected to be the victim to kill.




回答3:


Perhaps You would have forgot add your destination activity in manifest file. Adding Activity in Manifest Worked for me.



来源:https://stackoverflow.com/questions/12177900/crash-at-dalvik-system-nativestart-mainnative-method

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