我从客户端调用startService(intent)到服务。此调用会创建一个例外:
final Intent intent = new Intent("com.L.LService");
final ComponentName cn = new ComponentName("com.L","com.L.LService");
intent.setComponent(cn);
intent.putExtra("intID", "appR");
intent.putExtra("aid", AppID);
try {
startService(intent);
} catch (Exception e) {
e.printStacktrace();
}
有什么想法吗?