当前位置: 代码迷 >> Android >> android 错误积累(myself)
  详细解决方案

android 错误积累(myself)

热度:73   发布时间:2016-04-28 07:38:14.0
android 异常积累(myself)


1.android.database.StaleDataException: Attempted to access a cursor after it has been closed.   

我的解决方法为: //4.0以上的版本会自动关闭 (4.0--14;; 4.0.3--15)

if(Integer.parseInt(Build.VERSION.SDK) < 14)                  {                      cursor.close();                  }





  相关解决方案