// java.lang.IllegalArgumentException: Service Intent must be explicit: Intent{act=android.intent.action.AIDLService}
1. startService(new Intent(getApplicationContext(), "com.aaa.xxxserver")); 这样写程序直接crash掉,要写成下面这样: startService(new Intent(getApplicationContext(), LoadContactsService.class));
2. 如果是BindService的: Intent service = new Intent("android.intent.action.AIDLService"); 的基础上,要加上包名: service.setPackage("com.jay.ipcserver");