android android.app.SuperNotCalledException错误
来源:互联网 发布:painter软件百度云 编辑:程序博客网 时间:2024/05/18 02:42
android.app.SuperNotCalledException错误
10-04 14:47:29.914: E/AndroidRuntime(4941): FATAL EXCEPTION: main
10-04 14:47:29.914: E/AndroidRuntime(4941): android.app.SuperNotCalledException: Activity {com.solar/com.solar.TSettingActivity} did not call through to super.onDestroy()
10-04 14:47:29.914: E/AndroidRuntime(4941): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:2661)
10-04 14:47:29.914: E/AndroidRuntime(4941): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:2690)
10-04 14:47:29.914: E/AndroidRuntime(4941): at android.app.ActivityThread.access$2100(ActivityThread.java:117)
10-04 14:47:29.914: E/AndroidRuntime(4941): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:964)
10-04 14:47:29.914: E/AndroidRuntime(4941): at android.os.Handler.dispatchMessage(Handler.java:99)
10-04 14:47:29.914: E/AndroidRuntime(4941): at android.os.Looper.loop(Looper.java:130)
10-04 14:47:29.914: E/AndroidRuntime(4941): at android.app.ActivityThread.main(ActivityThread.java:3683)
10-04 14:47:29.914: E/AndroidRuntime(4941): at java.lang.reflect.Method.invokeNative(Native Method)
10-04 14:47:29.914: E/AndroidRuntime(4941): at java.lang.reflect.Method.invoke(Method.java:507)
10-04 14:47:29.914: E/AndroidRuntime(4941): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
10-04 14:47:29.914: E/AndroidRuntime(4941): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
10-04 14:47:29.914: E/AndroidRuntime(4941): at dalvik.system.NativeStart.main(Native Method)
错误在于红字部分。下面是错误代码。
原因是子类没有调用父类的onDestroy()。添上super.onDestroy()就行了。
- 错误 : android.app.SuperNotCalledException
- android.app.SuperNotCalledException错误
- android.app.SuperNotCalledException错误
- android android.app.SuperNotCalledException错误
- Android.app.SuperNotCalledException
- Android.app.SuperNotCalledException
- Android.app.SuperNotCalledException
- android.app.SuperNotCalledException异常
- Android.app.SuperNotCalledException
- android.support.v4.app.SuperNotCalledException
- android.support.v4.app.SuperNotCalledException:
- android.support.v4.app.SuperNotCalledException
- ERROR/AndroidRuntime(680): android.app.SuperNotCalledException: Activity
- Android解决SuperNotCalledException
- android.app.SuperNotCalledException: Activity {} did not call through to super.onPause()
- android.app.SuperNotCalledException:did not call through to super.onXX() 异常处理
- android.app.SuperNotCalledException: Activity {com.lcxx.nur.view/com.lcxx.nur.view.doctorsadvice.Doc
- android.app.SuperNotCalledException: Activity {} did not call through to super.onDestory() 解决办法
- scrollview底部加入不滑动的button
- Unicode字符串写入文本
- jquery-Velocity.js
- GDB 调试 STL
- 重装Windows 7后,Ubuntu 13.04 引导修复方法
- android android.app.SuperNotCalledException错误
- 学习笔记 提取常量和一个简单的聊天系统(python)from python基础教程
- 性能测试工具ab的使用
- 关于getChildFragmentManager()、 getFragmentManager()、getSupportFragmentManager()的使用
- cdoj 1131 区间dp
- Maximum Depth of Binary Tree
- jar包生成说
- BZOJ1150 数据备份
- 资料翻译--Rockstor配置Openvpn