java.lang.RuntimeException: Unable to instantiate service
问题 I am trying to code an application that monitors sms messages. I want to start a service from my main Activity class, but the service doesn't start for some reason. I think there might be a problem with how I declared my service in the manifest file or how I call it from my activity. Here is a part of my activity Code: public class TablighBlockActivity extends Activity { /** Called when the activity is first created. */ private ToggleButton toggEnable; public void onCreate(Bundle