相关疑难解决方法(0)

终结者抛出未捕获的异常(将被丢弃),Android

在logcat中我发现了这些消息,我的应用程序正确运行(没有错误/没有异常/和正确的结果),但为什么这些消息出现在log cat中.我关闭了所有游标.还有一件事,应用程序显示活动有点慢(我的logcat消息中列出了哪些活动),我认为生成这些日志消息需要花费时间.什么是解决方案.

I/ActivityManager(   63): Starting activity: Intent { cmp=com.pankaj.myapp/.SelectedContactActivity (has extras) }
    D/dalvikvm(  251): GC freed 2584 objects / 174064 bytes in 139ms
    I/dalvikvm(  251): Uncaught exception thrown by finalizer (will be discarded):
    I/dalvikvm(  251): Ljava/lang/IllegalStateException;: Finalizing cursor android.database.sqlite.SQLiteCursor@43d2c688 on contacts_tags that has not been deactivated or closed
    I/dalvikvm(  251):  at android.database.sqlite.SQLiteCursor.finalize(SQLiteCursor.java:596)
    I/dalvikvm(  251):  at dalvik.system.NativeStart.run(Native Method)
    I/dalvikvm(  251): Uncaught exception thrown by finalizer (will be discarded):
    I/dalvikvm(  251): Ljava/lang/IllegalStateException;: Finalizing cursor android.database.sqlite.SQLiteCursor@43d2bf58 on contacts_tags that has not been deactivated …
Run Code Online (Sandbox Code Playgroud)

android android-logcat

4
推荐指数
1
解决办法
6126
查看次数

标签 统计

android ×1

android-logcat ×1