对于Service被系统回收,一般做法是通过提高优先级可以解决,在AndroidManifest.xml文件中对于intent-filter可以通过android:priority = "1000"这个属性设置最高优先级,1000是最高值,如果数字越小则优先级越低,同时实用于广播。 如: <service android:enabled="true" android:name="com.android.trafficman.main.TrafficService"> <intent-filter android:priority = "1000"> </intent-filter> </service>