{"action":"opened","issue":{"url":"https://api.github.com/repos/Qihoo360/DroidPlugin/issues/55","labels_url":"https://api.github.com/repos/Qihoo360/DroidPlugin/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/Qihoo360/DroidPlugin/issues/55/comments","events_url":"https://api.github.com/repos/Qihoo360/DroidPlugin/issues/55/events","html_url":"https://github.com/Qihoo360/DroidPlugin/issues/55","id":111538692,"number":55,"title":"加载了droidPlugin的宿主,在启动一个未安装的插件的service(声明exported=true)时, 首次启动失败","user":{"login":"newstart201212","id":15081474,"avatar_url":"https://avatars.githubusercontent.com/u/15081474?v=3","gravatar_id":"","url":"https://api.github.com/users/newstart201212","html_url":"https://github.com/newstart201212","followers_url":"https://api.github.com/users/newstart201212/followers","following_url":"https://api.github.com/users/newstart201212/following{/other_user}","gists_url":"https://api.github.com/users/newstart201212/gists{/gist_id}","starred_url":"https://api.github.com/users/newstart201212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newstart201212/subscriptions","organizations_url":"https://api.github.com/users/newstart201212/orgs","repos_url":"https://api.github.com/users/newstart201212/repos","events_url":"https://api.github.com/users/newstart201212/events{/privacy}","received_events_url":"https://api.github.com/users/newstart201212/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-15T03:30:26Z","updated_at":"2015-10-15T03:30:26Z","closed_at":null,"body":"宿主里启动未安装的插件service(AndroidManifest里声明exported=true), 没反应.\r\n第2次以后才可以启动.\r\n\r\n具体过程:\r\n1. 插件里有个service,\r\n2. 宿主在PluginManager.getInstance().isConnected()之后查询插件, \r\n    然后PluginManager.getInstance().installPackage(), \r\n    之后要启动插件的service, 此时service没被启动, \r\n\t\tIntent it = new Intent();\r\n\t\tit.setClassName(\"com.example.test2\", \"com.example.test2.Test2Service\");\r\n\t\tmContext.startService(it);\r\n3. 再重复上面操作, 可以启动插件service"}}