Permission Denial: Accessing service ComponentInfo {…} from pid=-1
问题 I'm attempting to use Google's Activity Recognition Service. Several days ago everything worked like a charm, i.e. I could connect use the service to obtain activity information. But today I found that I couldn't receive any anymore. After looking at the log I found this error: 05-15 21:19:27.196: W/ActivityManager(765): Permission Denial: Accessing service ComponentInfo{edu.umich.si.inteco.captureprobe/edu.umich.si.inteco.captureprobe. contextmanager.ActivityRecognitionService} from pid=-1,