现在的位置: 首页 > 综合 > 正文

unable to start service intent

2013年02月01日 ⁄ 综合 ⁄ 共 226字 ⁄ 字号 评论关闭

intent.setClass(this, DownloadService.class);

<service android:name=".service.DownloadService"/>

上面这样写就错了,

下面是对的。

intent.setClass(Mp3ListActivity.this, DownloadService.class);

<service android:name=".service.DownloadService"></service>

抱歉!评论已关闭.