按照书上写代码,结果没有在AndroidManifest.xml中没有配置 导致在debug的时候Service中的onStart()方法没有执行,Eclipse也没有报错!参考书的时候还是要多思考一下呀!