摘要:
当执行.unbindService(mConnection);时报告如下异常:java.lang.RuntimeException: Unable to destroy activity {com.symbio.kkbox.ui/com.symbio.kkbox.ui.PlayerActivity}: java.lang.IllegalArgumentException: Service not registered:解决方法:1、需要getApplicationContext().unbindService(mConnection);来提升应用程序级别。同理,bindservice也需要提升 阅读全文