android.util.SuperNotCalledException: Activity did not call through to super.onDestroy()异常的解决
来源:互联网 发布:网络培训怎么培训 编辑:程序博客网 时间:2024/05/21 07:10
今天项目调试过程中,遇到一个问题,点击跳转Activity之后,选好值返回上一页面的时候,发现项目闪退,反复试了好几次发现都是这个样子,也没有错误日志打印。
找了半天断点调试,也只是走完onActivityResult就就闪退了。后来忽然想起来友盟里我集成了错误统计,去看看吧。一看发现还真有,原来是报了这个个异常android.util.SuperNotCalledException: Activity {类名称及路径} did not call through to super.onDestroy()一看异常信息知道了原来是因为没有调用父类的super.onDestroy()方法导致的。知道问题原因就好解决了.因为在原来父类的onDestroy中做了一个弹栈操作,所以才没有调用super,把继承关系改了下,有加上super.onDestroy()方法之后,完美解决异常。又一次深刻感觉到异常信息重要性!
0 0
- android.util.SuperNotCalledException: Activity did not call through to super.onDestroy()异常的解决
- android.app.SuperNotCalledException: Activity {} did not call through to super.onPause()
- android.app.SuperNotCalledException: Activity {} did not call through to super.onDestory() 解决办法
- android.app.SuperNotCalledException: Activity {} did not call through to super.onDestory()
- android.app.SuperNotCalledException:did not call through to super.onXX() 异常处理
- 解决did not call through to super.onDestroy()
- did not call through to super.onDestroy()
- 抛出Activity did not call through to super.onDestroy()的解决方案
- Unable to destroy activity did not call through to super.onDestroy()
- xxxActivity did not call through to super.onStart()等方法SuperNotCalledException的源码分析
- 五、android.app.SuperNotCalledException did not call through to supper onCreate()的问题
- SuperNotCalledException did not call through to supper onCreate();
- did not call through to super.onCreate()
- AndroidRuntime: did not call through to super.onCreate()
- "did not call through to super.onResume"问题解决
- grade中在线添加依赖无效不下载的问题和.MainActivity did not call through to super.onCreate()
- android superNOtCallException not call through to super.oncreate
- android开发Fragment not attached to Activity异常解决
- Java中sleep和wait的区别
- 简单类的编写----java
- 杭电OJ1280-前m大的数
- 在线安装 IntelliJ IDEA的 golang 插件
- 大数据_Storm_cluster模式下storm kill topology时做cleanup的解决方法
- android.util.SuperNotCalledException: Activity did not call through to super.onDestroy()异常的解决
- 获得文件夹下文件个数(包括子文件)
- 对几种队列的总结
- 【整理】JQ样式篇——选择器
- ambari的安装以及集群部署
- c#sql server数据库与datagridview的绑定
- MVC模式
- thinkPHP学习(1) --- 错误页面自定义
- Android Interpolator种类