解决方案 »

  1.   

    资源读写的时候出现问题,
    11-19 16:44:32.019: E/StrictMode(1601): java.lang.Throwable: Explicit termination method 'close' not called
     11-19 16:44:32.019: E/StrictMode(1601):  at dalvik.system.CloseGuard.open(CloseGuard.java:184)这个意思是 没有显示的调用close方法 去释放资源。
      

  2.   

    首先楼主你给出的源码文件不对,应该是EntityService 这个类文件。com.doctorstation.BLL.EntityService.setInputStream(EntityService.java:46)你去看下,这个文件中的FileInputStream对象没有调用close()方法来关闭文件输入流,或者由于try catch语句在错误出现的情况下跳过了cloase()函数的调用。