Unfortunately, MyApp has stopped - no error logs in logcat

百般思念 提交于 2019-12-05 03:19:31
  • Did you try to run LogCat in command-line? You might be able to see the error. Android LogCat in command-line
  • If your using Eclipse as IDE, try checking your filters for LogCat. You may accidently not displaying errors in LogCat.
  • Try finding the error via the Debugger. Place breakpoints to places where you suggest the error to be.

It sounds quite trivially - try to restart computer, test at other emulator or device. Also you can add your try-catch block and forget to type e.printStackTrace() or use UncaughtExceptionHandler.

In my case logcat was filtered. You can change filter in Android Monitor -> logcat -> Bottom right corner, change filter to No Filters. It will show all errors.

It's very weird,that you are not able to find out any logcat. So why don't you try Hockey app.Please go through the guide.I think you can use it for some time.After that you have to pay for it.

Good Luck.

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