遇到诸如
Cursor finalized without prior close()
E/Genymotion(398): Could not open '/sys/class/power_supp
android异常:activity has leaked IntentReceiver
以上问题可能指向一个错误,service没有注册
当然IntentReceiver发生泄漏主要有可能没有在onPause()或者onDestroy()方法里没有取消注册就是unregisterReceiver
当然还有种可能就是重复注册相同的广播接收器两次