java.lang.IllegalStateException: Process 3188

原代码如下:

places = getPlaceDatas(context, cursor);
cursor.close();

应改为:

try{

places = getPlaceDatas(context, cursor);

}finally{
cursor.close();

}

不然会报如下错误:

 java.lang.IllegalStateException: Process 3188 exceeded cursor quota 100, will kill it


你可能感兴趣的:(java.lang.IllegalStateException: Process 3188)