我无法通过setComponent或action和setPackage启动服务,例如:
Intent intent=new Intent();
intent.setComponent(new ComponentName("io.github.grooters.practicer.BindeRer","io.github.grooters.practicer.BindeRer.ServicerTest"));
startService(intent);
Intent intent=new Intent("io.github.grooters.practicer.BindeRer.ServicerTest");
intent.setPackage("io.github.grooters.practicer.BindeRer");
startService(intent);
但是我可以通过startService(this,ServicerTest.class)
开始